Xcode Cloud

RSS for tag

Automate workflows to test, analyze, build, and distribute your app, and integrate them with other developer tools, such as TestFlight and App Store Connect.

Xcode Cloud Documentation

Posts under Xcode Cloud tag

169 Posts
Sort by:
Post not yet marked as solved
1 Replies
150 Views
Hello, I'm working on migrating my projects Xcode cloud and on specific release workflow i build a new version and after using agvtool i increment the version when all this finish i want to push the changes (aka version change) on git and make new tag also. The version change and git part is done on ci_post_xcodebuild.sh The issue that i have is an error on git git push --tags and git push : remote: Write access to repository not granted. fatal: unable to access 'http://github.com/REPO_NAME_REDACTED.git/': The requested URL returned error: 403 From what i see on my account, Xcode cloud asks for this permissions : Read access to code, metadata, and pull requests Read and write access to checks and commit statuses So no push permission. Do you have any idea how to make this work ? Thanks, Florin
Posted
by
Post not yet marked as solved
0 Replies
89 Views
In my xcode cloud workflow I run UI tests that check the way things are rendered. In some cases, visual effects like blur (see this for example. The UI test produces a screenshot, see in the text results) I see that xcode cloud doesn't render at all (results attached). It seems like xcode cloud doesn't run with GPU by default. Is there a way to see beautiful visual effects like translucent navigation and toolbars, blur effects and vibrancy in UI tests screenshots? Attached the rendered results (actual first, expected below).
Posted
by
Post not yet marked as solved
1 Replies
155 Views
Xcode Cloud is experiencing many problems with repository connection lately. Previously I had some issues with GitHub which disappeared after some time. And yesterday suddenly it stopped working with my Bitbucket repository. Now even if I try to add the repository again I always get 504 error: Why it is so unstable :(?
Posted
by
Post not yet marked as solved
0 Replies
81 Views
I have two build actions in my workflow. One is for iOS build and the other one is watchOS build. iOS build is okay but watchOS build is always failed. I got message saying "xcodebuild: error: unable to find a destination matching the provided destination specifier: {generic:1, platform:watchOs Simulator}" Any help?
Posted
by
Post marked as solved
2 Replies
258 Views
What machines are used for Xcode Cloud builds? I couldn't find any information on that in the documentation. Is Xcode Cloud using M1/M2? Or is it going to use Apple CPU in the future?
Posted
by
Post not yet marked as solved
0 Replies
87 Views
Hello, I'm trying to change the destination of a test action in a xcode cloud workflow. For some reason, after I choose a specific device and save, I see that it went back to the defaults: Recommended iPhones. Did anyone have the same problem? I found that I can set the destination through the portal, but also there it sometimes changes back. Any ideas? In the attached screenshot: This is what I do, I press save and it goes back to the defaults.
Posted
by
Post not yet marked as solved
0 Replies
140 Views
Currently we have our own home grown Xcode continuous integration farm with Intel and Apple Silicon Mac minis. We've been piloting Xcode Cloud, but have found much slower build times than we expected. We understand cloud services won't be as responsive as our dedicated Macs, but the times are much higher than expected. Most of our projects are Swift, but we have one React Native project that takes 40 minutes to build on Xcode Cloud. Dependencies (like Cocoapods and NPM) seem like a build time issue for that project specifically. We're worried how that could affect even our pure Swift projects with SPM dependencies. And build times generally also seem slow. The real issue besides the speed is that we're paying per hour for Xcode Cloud. And even if we decided to take the slower build times as a trade off to not having to maintain our own Macs, it seems like we'd quickly run out of time even on the highest tier plan. Is there any plan to maybe kick in some more machines or bandwidth into the Xcode Cloud backend? Even our React Native app (which seems to be the worst case) takes less than 10 minutes to build end to end locally.
Posted
by
Post not yet marked as solved
1 Replies
167 Views
Hello, I'm trying to port my framework CI to xCode Cloud and i have to create the release build that contains iOS ios-arm64 and ios-arm64_x86_64-simulator architectures for being able to build the XCFramework on iOS devices and Simulators. I looked in the Archive Action in the Xcode Cloud options but the Platform selector has iOS but not not Simulator. Currently i achieved the results that i needed by adding a ci_scripts/ ci_pre_xcodebuild and working with old fashion xcodebuild archive command and works fine . Can i achieve what i want without the sh script by using predefined actions from Xcode Cloud ? Thanks, Florin
Posted
by
Post marked as solved
1 Replies
165 Views
Is it possible to create a workflow that submits the app to review? Not only TestFlight External testing, but submits the app to App Review in App Store Connect? So when the master branch is changed, the workflow starts and submits the new app version to review in App Store Connect
Posted
by
Post not yet marked as solved
0 Replies
144 Views
Since I upgraded to macOS 13 beta. I was unable to use Xcode 13, and had to try Xcode Cloud. My project uses CocoaPods for dependency management. We have a lot of private dependencies hosted on GitHub. But in the process of using it, I found some problems: I found that AppStoreConnect has no way to manually add access to the "other repositories". I had to rely on Xcode Cloud to automatically detect the missing repositories each time a run failed, and then I had to manually click to add access, which was very annoying. Xcode Cloud does not pre-install CocoaPods. nor does it initialize Homebrew (it just installs it). This causes me to run brew install cocoapods every time, and wait for 10 minutes. Xcode Cloud has no way to specify a cache directory. Users may need to install some additional tools needed to compile, and they rarely change, so if the cache could be used, it would not have to be downloaded and installed every time, speeding up the execution process and not wasting valuable computing resources. Suggestions: pre-install CocoaPods. Many people use CocoaPods as their dependency management tool Provide the ability for users to manually add access to "other repositories" in the AppStoreConnect backend, instead of just relying on automatic detection. Add custom cache directories, which can save a lot of execution time
Posted
by
Post not yet marked as solved
0 Replies
199 Views
We started using Xcode Cloud and also started uploading a build to the TestFlight for internal distribution, it works great. How do i go about adding a changelog (TestFlight Test Details) or is that not supported yet? i'd like to notify internal testers on what's changed. thanks in advance Without this, we'd either have to update it manually or have to look at Fastlane just for adding changelog.
Posted
by
Post marked as solved
1 Replies
155 Views
I have the latest XCode 14 on my Mac running Ventura preview. I am trying to build and deploy a live production app, essentially an app previously built with XCode 13.4.1 and now on the store. From my knowledge, this was not previously possible on preview versions of Mac OS. So, I'm wondering if now XCode Cloud is able to build this production app in the cloud instead of locally, using the previous XCode version 13.4.1 (GM), but pushing it up with XCode 14 (Beta). Note: My app is not using any new features that require XCode 14, and builds successfully in 13.4.1 and 14.
Posted
by
Post marked as solved
1 Replies
270 Views
When I try to create a TestFlight build of my app using Xcode Cloud, I get a couple of ITMS-90334 errors and the build fails. The error messages look like: ITMS-90334: Invalid Code Signature Identifier - The identifier 'MySwiftPackage-55554944e95A2da4fe9e3357b44de57c3ba890e8' in your code signature for 'MySwiftPackage_-658550CFFF128C8B_PackageProduct' must match its Bundle Identifier 'MySwiftPackage' Where MySwiftPackage is a Swift Package which is used by a framework as well as the application. The dependencies look like this: MyApp + MyFramework + MySwiftPackage + MySwiftPackage MyApp is a macOS app MyFramework is a mixed Swift and Objective-C framework MyApp is also mixed Swift and Objective-C When I run an archive build on my local Mac and upload the build to App Store Connect to be used as a TestFlight build, everything seams to be fine and the build is accepted I found some discussions on ITMS-90334 but not related to using Swift Packages and Frameworks Any ideas what might be going on or where I can look to get more info on the nature of ITMS-90334?
Posted
by
Post not yet marked as solved
1 Replies
246 Views
Hi, I'm currently researching if we are able to migrate to Xcode Cloud in our project. I encountered one issue. I run unit tests on Xcode Cloud and I see that they finish in ~150 seconds, but the whole step takes ~530s and there is no information in logs why. I even run the same command on my local computer and it doesn't take that long. Any ideas? Any way to optimize it? Also one more thing: it looks like Xcode Cloud is not running on M1 machines. Do you know guys if there are plans for Xcode Cloud to take advantage of M1/M2?
Posted
by
Post not yet marked as solved
0 Replies
100 Views
Hello I gave access to a gitlab repository for my project. However, I had to move my project to another gitlab repository, and I can't seem to be able to grant access to this new gitlab repo... I had gitlab.XXXX.com and now have gitlab.YYYYY.com. But when I try to grant access, I get on the webpage of Xcode Cloud that tells me that it can't access to gitlab.XXXX.com
Posted
by
Post not yet marked as solved
0 Replies
110 Views
Is there a way to execute code after the app has been uploaded successfully to Testflight? I am trying to post the patch notes of the update into Slack. I would be fine if there is a way to put the patch notes into the "What's New" section for the app in Testflight instead. The current Slack integration seems to show the Git title rather than the title/summary + the description. I would love to use either the last commit's description or a separate file in my repo to host all the changes.
Posted
by
Post not yet marked as solved
1 Replies
135 Views
I am unable to complete the Archive step for my iOS project. Looking at the logs, I see a number of messages that imply that Xcode Cloud is unable to fetch my dependencies for some reason. I have verified that I gave Xcode access to all my GitHub repositories, and it seems to be able to access my primary project repository without any problems. The type of logs I'm getting are as follows: Failed to clone repository git@github.com:myusername/MyRepositoryName.git:     Cloning into bare repository '/Volumes/workspace/DerivedData/SourcePackages/repositories/MyRepositoryName-b342b4d2'...     fatal: could not read Username for 'http://github.com': terminal prompts disabled One for each of my dependencies. Any thoughts?
Posted
by
Post not yet marked as solved
1 Replies
146 Views
It seems I used the wrong Bitbucket account when setting up my project with Xcode Cloud. Now when I proceed with the "Grant Access" step, all I get is this error: Bitbucket Cloud installation was incomplete Repository was not found. Either the repository does not exist or you do not have permission to access it. Is there any way to reset this and start over?
Posted
by