I'm facing an issue with Xcode Cloud.
Every branch I push to my GitLab repository is not appearing as selectable when I try to create a build with my workflow. Additionally, if I try to update the workflow from Xcode, it crashes every time I save the changes.
Any help would be appreciated.
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [32110]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 26.2 (24553)
Build Info: IDEApplication-24553000000000000~2 (17C52)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.apple.dt.Xcode [58945]
User ID: 501
Date/Time: 2026-02-19 13:11:54.9987 -0600
Launch Time: 2026-02-19 13:03:37.7725 -0600
Hardware Model: Mac16,5
OS Version: macOS 26.2 (25C56)
Release Type: User
Crash Reporter Key: 61D7E2DA-E724-EFE2-6A01-25079BFCA2D1
Incident Identifier: B3D4A277-7CB5-4696-A00F-057929659F41
Sleep/Wake UUID: 2D4F6C41-716C-4B47-8D40-27FD2D74A8AE
Time Awake Since Boot: 440000 seconds
Time Since Wake: 15967 seconds
System Integrity Protection: enabled
Triggered by Thread: 9, Dispatch Queue: com.apple.root.user-initiated-qos.cooperative
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: Xcode [32110]
Application Specific Information:
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 AppKit 0x19ffb8250 __51-[NSWindow(NSDisplayCycle) _postWindowNeedsDisplay]_block_invoke + 0
1 CoreFoundation 0x19afe4604 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28
2 CoreFoundation 0x19afe4544 __CFRunLoopDoBlocks + 396
3 CoreFoundation 0x19afe3988 __CFRunLoopRun + 2356
4 CoreFoundation 0x19b09de34 _CFRunLoopRunSpecificWithOptions + 532
5 HIToolbox 0x1a7ad3790 RunCurrentEventLoopInMode + 316
6 HIToolbox 0x1a7ad6ab8 ReceiveNextEventCommon + 488
7 HIToolbox 0x1a7c60b64 _BlockUntilNextEventMatchingListInMode + 48
8 AppKit 0x19f8fcb5c _DPSBlockUntilNextEventMatchingListInMode + 236
9 AppKit 0x19f3f6e48 _DPSNextEvent + 588
10 AppKit 0x19fec1d0c -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
11 AppKit 0x19fec1a18 -[NSApplication(NSEventRouting) nextEventMatchingMask:untilDate:inMode:dequeue:] + 72
12 AppKit 0x19f3ef780 -[NSApplication run] + 368
13 IDEKit 0x10cf3f630 -[IDEApplication run] + 192
14 AppKit 0x19f3db6dc NSApplicationMain + 880
15 dyld 0x19ab7dd54 start + 7184
Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x19af02c34 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19af15028 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x19af0b98c mach_msg_overwrite + 484
3 libsystem_kernel.dylib 0x19af02fb4 mach_msg + 24
4 CoreFoundation 0x19afe4ba0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19afe34f8 __CFRunLoopRun + 1188
6 CoreFoundation 0x19b09de34 _CFRunLoopRunSpecificWithOptions + 532
7 AppKit 0x19f486a34 _NSEventThread + 184
8 libsystem_pthread.dylib 0x19af45c08 _pthread_start + 136
9 libsystem_pthread.dylib 0x19af40ba8 thread_start + 8
Thread 2:
0 libsystem_kernel.dylib 0x19af02c34 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x19af15028 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x19af0b98c mach_msg_overwrite + 484
3 libsystem_kernel.dylib 0x19af02fb4 mach_msg + 24
4 CoreFoundation 0x19afe4ba0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19afe34f8 __CFRunLoopRun + 1188
6 CoreFoundation 0x19b09de34 _CFRunLoopRunSpecificWithOptions + 532
7 Foundation 0x19d232964 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8 DTDeviceKitBase 0x118331930 +[DTDKRemoteDeviceConnection startServiceBrowsers] + 148
9 Foundation 0x19c7fd7a0 __NSThread__start__ + 732
10 libsystem_pthread.dylib 0x19af45c08 _pthread_start + 136
11 libsystem_pthread.dylib 0x19af40ba8 thread_start + 8
Xcode Cloud
RSS for tagAutomate workflows to test, analyze, build, and distribute your app, and integrate them with other developer tools, such as TestFlight and App Store Connect.
Posts under Xcode Cloud tag
119 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm experiencing a persistent issue with Xcode Cloud where my iOS app (Spellboard) builds and archives successfully, but all three export steps fail with exit code 70:
Export archive for ad-hoc distribution — exit code 70
Export archive for development distribution — exit code 70
Export archive for app-store distribution — exit code 70
Environment:
Xcode Cloud Build 45, branch: main
Project: Spellboard.xcodeproj
Team: EinsteinAI
Target: Any iOS Device (arm64)
Automatic code signing (managed by Xcode Cloud)
Building on a Remote Mac (additional code signing constraints)
Error details from logs:
The xcodebuild -exportArchive command fails during the signing phase. For example, the development distribution step shows:
xcodebuild -exportArchive -archivePath /Volumes/workspace/tmp/ec4c2b30-ebd1-435f-8d8f-621326235df1.xcarchive -exportPath /Volumes/workspace/developmentexport -exportOptionsPlist /Volumes/workspace/ci/development-exportoptions.plist -DVTProvisioningIsManaged=YES -IDEDistributionLogDirectory=/Volumes/workspace/tmp/development-export-archive-logs -DVTSkipCertificateValidityCheck=YES -DVTServicesLogLevel=3
Command exited with non-zero exit-code: 70
The same pattern repeats for ad-hoc and app-store distribution exports.
What I've verified:
The build itself compiles successfully (all modules compile, command executed successfully)
No code changes were made that would affect signing
The workflow is configured with automatic signing managed by Xcode Cloud
Post-action is set to TestFlight External Testing
Additional constraint — Remote Mac:
I'm building on a Remote Mac, which adds complexity to code signing and keychain access. The Remote Mac environment has known limitations with certificate and provisioning profile management compared to a local Mac. This may be a contributing factor to the export failures.
This appears to be an issue with how Xcode Cloud is handling the Apple Distribution and Apple Development signing certificates during the export phase, not a build compilation issue.
Has anyone encountered this recently, or is there a known issue with Xcode Cloud's managed signing on Remote Mac environments? Any guidance on resolving exit code 70 during the export step would be greatly appreciated.
Hi everyone,
I’m encountering an issue with Xcode Cloud when trying to notarize my macOS app. As shown in the screenshot, there are no errors in the logs, but the process gets stuck indefinitely. The message says:
The post-action could not be completed because the build was canceled.
No artifacts are generated at all.
This problem started recently. Notarization works perfectly when I submit from my local Xcode, so it seems to be specific to Xcode Cloud.
Has anyone else experienced this?
Hello,
I am trying out Xcode Cloud for the first time. I could connect to Github in the initial setup and had a few failed builds (package resolution error), which I resolved fairly quickly.
Now whenever I am trying to build, I get the following error:
Xcode Cloud is unable to connect to the repository “<respository-name>”. Reconnect the repository to resume builds.
I am unable to remove the connection from settings as well because it's stuck in a loading state. Is there a way to fix this?
We have been using Xcode Cloud Build to test an internal app. A new build is triggered automatically by a merge to main in github.
Up until a few weeks ago everything was fine, we would get a notarize button and a download link. On 1/29/2026 the process started timing out at the finalizing step. The logs in the UI show no errors just a "cancelled" flag after 8-12 hours.
Clicking the logs tab shows all green up until the step you would normally expect a "stapling".
Any thoughts on were to look to triage this?
I'm trying to upload my app build with Xcode Cloud. It builds and runs fine on the simulator, but when I try to upload to the cloud it keeps failing from Ad-hoc and Developer Distr. (Error code 70)
I have tried/verified:
-Verifying that my workflow archive in Xcode is set to "App Store Connect" (setting it to internal Test flight did not work either)
-TestFlight Internal is set as a Post-Action and I created/added a test group
-All App Store agreements signed and active
-Revoking out-of-date developer certificates (Development Managed)
-Running build from command line (using git pull origin main, git push origin main)
Excerpts of the Error Output (ip addresses censored)
Export archive for ad-hoc distribution
15.9s
Run command: 'xcodebuild -exportArchive -archivePath /Volumes/workspace/tmp/3fe6638a-94b8-4944-8406-0e291469f933.xcarchive -exportPath /Volumes/workspace/adhocexport -exportOptionsPlist /Volumes/workspace/ci/ad-hoc-exportoptions.plist '-DVTPortalRequest.Endpoint=http://172.16.XX.XX:XXXX' -DVTProvisioningIsManaged=YES -IDEDistributionLogDirectory=/Volumes/workspace/tmp/ad-hoc-export-archive-logs -DVTSkipCertificateValidityCheck=YES -DVTServicesLogLevel=3'
Error
Command exited with non-zero exit-code: 70
Another similar error exists for development distribution
Hi, our Xcode Cloud runs produce dsyms for test targets that massively increase the artifacts size, more specifically the "Test Products for" zip, that slows down the build due to the "upload artifacts" phase. These dsyms are useless, so we would like to stop producing them on Xcode Cloud builds. Consider that the workflow uses the autogenerated scheme for a package that's part of the Xcode project. How can we tell Xcode Cloud to not produce dsyms?
My workflow is using Xcode 16.4 and macOS Tahoe 26.2 (25C56). I am trying to change Xcode version to 26.2. When I click Save after some time I get "Something went wrong" error message without any additional details (see screenshot).
I get the same error for the following cases:
Tried changing a different workflow
Tried to deactivate a workflow
Tried various combinations of Xcode (26.1, 26.1.1, 26.2) + mac OS (26.1, 26.2)
Tried creating a new workflow with Xcode 26.2 (haven't tried any other Xcode versions though)
Hello!
I have a web extension I've written to Google Chrome and Mozilla Firefox. It's made up of simple files.
The extension (content.js)
A manifest (manifest.json) file which explains the extension
The icon (icon.png)
Apple has developed App Store Connect / Xcode Cloud specifically for this.
I upload those three files as a zip. I move it over to TestFlight for testing and then select Distribution to put it through Apple Review.
This is my entire process.
I have been doing this for 4+ months and Apple reviewed my application and put it up. I have then gone through 13 subsequent reviews (ALL POSITIVE) and have gone through version upgrades for months, no issue.
On the 15th review, they want me to change the name of my application.
I have done that in the content.js, the manifest.json, and anywhere that allows me to change it in App Store Connect.
There is apparently one more place they want it changed. This is on the App Information / General Information tab, specifically the "BundleID". The tip on that field says:
The bundle ID must match the one you used in Xcode. It can't be changed after you upload your first build.
Or, I am not understanding what their issue is or what else I can change. I was told by Review team I must use XCODE to change this.
I tell them I don't use XCode (they demand now I use Xcode, which seems completely irrelevant here and a red herring
The tooltip itself says I can't change it anyway?
Has anyone been told after they released their application they have to change their name later on in life?
I am getting this issue, whenever I am trying to reconnect XcodeCloud in App Store as the XcodeCloud builds are blocked.
Steps we followed
Go to App Store Connect -> select app -> select Xcode Cloud -> select build
2 we are able to see error message with connect button
Xcode Cloud is unable to connect to the repository “**********”. Reconnect the repository to resume builds.
3. Tapping on connect -> shows a popup with option to authorize in bitbucket -> taping on it, takes us to another window which redirects continuously and nothing happens
Can anyone help me with this
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Xcode Cloud
I'm currently using another provider for CI/CD. They've been offering Apple Silicon builds for over a year now. When we switched over, we saw our build times cut in half. I've seen similar results locally, back when I bought an M1 Mac.
So, recently, I tried to use Xcode Cloud on my project. My build time is nearly 45 minutes, where my build time on my current system is about 15 minutes, max.
Since I work on a team, and we make regular commits, having a 45 minute turnaround is not ideal. When I looked at the logs of my Xcode Cloud project, I saw a lot "x86_64" stuff in there, which led me to believe that Xcode Cloud is still building on Intel machines.
Additionally, I run tests on my builds. The build time alone (before running tests) was almost 20 minutes. The 15-minute time I cited with my current CI/CD included build time & tests running. So, a whole cycle finishes on my current setup before tests are even run.
I noticed that there was a bunch of x86_64 in the logs, which made me think that Xcode Cloud is still using Intel. Is this true? I've just gotten really used to faster build times, and I can't move onto a system like this, where the times are so drastically different. Like, I wouldn't mind build time that would add only a few more minutes to what I have now. But going from 15 -> 45 minutes is a real problem.
Hello,
I’d like to share an issue we recently experienced with TestFlight and ask whether this behavior is expected.
Environment
App version string: 1.0.0
Multiple builds uploaded via CI/CD
Both external TestFlight testing and internal CI builds exist
Testers had automatic updates enabled in TestFlight
What happened
We uploaded build 1.0.0 (2601161653) and assigned it to an external TestFlight group.
Testers installed this build and were testing normally.
Later, we uploaded a newer build 1.0.0 (5) and reassigned the same external testers to this build.
Testers successfully updated to 1.0.0 (5) and continued testing.
After some time (without any manual action from testers), testers received a system notification saying that:
“The App has been updated. Version 1.0.0 (2601161653) was automatically downloaded and installed.”
When opening TestFlight, the app showed 1.0.0 (5) again as available for update, meaning the device had already been rolled back to 1.0.0 (2601161653).
Additional context
There are many archived builds in App Store Connect due to CI/CD testing.
Some CI builds share the same version string but differ only in build number.
External test groups were only explicitly assigned to build 1.0.0 (5) at the time of the rollback.
Build 2601161653 did not have any external test group assigned at that moment.
No App Store release or metadata changes occurred during this time.
Questions
If a tester’s currently installed build becomes temporarily unavailable (e.g. due to eligibility, internal status changes, or TestFlight processing),
does TestFlight automatically fall back to a previously approved build?
Is this automatic rollback behavior an intended part of TestFlight’s build availability logic, especially when multiple builds with the same version string exist?
Can frequent CI/CD uploads (without consistent external group assignment) influence which build TestFlight considers “eligible” or “latest” for testers?
Summary
From our observation, it appears that when the currently tested build temporarily lost eligibility, TestFlight automatically installed a previous build that was still considered available, even though a newer build existed.
We’d appreciate any clarification on whether this behavior is expected or if there are best practices to avoid this situation when using CI/CD with TestFlight.
Thank you.
My project build failed in Xcode Cloud(works well in my local Mac), and the error shows: Preparing build for App Store Connect failed
The error message is not clear enough to help us find the solution to fix it. Can anyone help with it?
When running a SwiftUI Multiplatform app in Xcode Cloud I'm getting the following error:
CIWatcher encountered an error in CIWatcherTests failed with:
Failed to install or launch the test runner. (Underlying Error: Could not launch “CIWatcherTests”. Runningboard has returned error 5. Please check the system logs for the underlying cause of the error. (Underlying Error: The operation couldn’t be completed. Launch failed. (Underlying Error: Launchd job spawn failed)))
This runs fine on iOS and all those tests pass.
The SwiftUI app on Mac is a menu bar app so I'm not sure if this could be the issue as it's not launching for some reason on the Xcode Cloud system? Maybe I need to add some run option to make this work?
When run locally both iOS and macOS pass all the tests successfully
Export archive step fails in Xcode Cloud when using Xcode 26.2 (17C48) RC.
The same project exports successfully when switching back to Xcode 26.1 in Xcode Cloud workflow settings.
The same project exports successfully when using Xcode 26.2 RC locally.
Projects without Apple Watch app do not encounter this issue (not so sure about this).
From Xcode Cloud UI:
Exporting for App Store Distribution failed. Please download the logs artifact for more information.
Run command: 'xcodebuild -exportArchive ...
Command exited with non-zero exit-code: 70
From xcodebuild-export-archive.log:
error: exportArchive Automatic signing cannot update bundle identifier "io.***.***.watchkitapp".
error: exportArchive No profiles for 'io.***.***.watchkitapp' were found
error: exportArchive Automatic signing cannot update bundle identifier "io.***.***".
error: exportArchive No profiles for 'io.***.***' were found
** EXPORT FAILED **
IDEDistribution: App Store Connect request for store configuration failed for account Session Proxy Provider
(Account "Session Proxy Provider": Unable to authenticate with App Store Connect
(Error Domain=DVTITunesSoftwareServiceFoundation.DVTServicesSessionProviderCredentialITunesAuthenticationContextError Code=1 "(null)"))
DVTServices: Sending request A7605D4E-2892-4B6D-9197-90BD3AB53D67 to <http://172.16.57.4:8089/services/v1/capabilities>
Payload: {"urlEncodedQueryParams":"teamId=984L9QX9X5&filter%5BreferenceType%5D=bundle&filter%5BincludeRequestable%5D=true&limit=200"}
{
"errors": [{
"id": "fb67ecdb-103b-4446-a2db-618fd6bd99e7",
"status": "400",
"code": "PARAMETER_ERROR.INVALID",
"title": "A parameter has an invalid value",
"detail": "A parameter 'filter[includeRequestable]' has an invalid value : ''includeRequestable' is not a valid field name.'",
"source": {
"parameter": "filter[includeRequestable]"
}
}]
}
DVTServices: Could not fetch capabilities from network due to error: error = 'A parameter has an invalid value'
Workaround
Switching Xcode Cloud workflow to use Xcode 26.1 works around the issue.
Using Xcode 26.2 RC locally works around the issue.
Xcode Cloud builds are hanging forever at the final step, Prepare Build for App Store Connect. This is a common issue that requires some fix in Cupertino.
Reporting this in the afternoon of Jan 13, Pacific Time.
Good morning all,
We have an on-premise instance of Bitbucket (v8.19.25), using a custom port. We'd like to try using Xcode Cloud, compare to our current CI/CD provider.
Once I have to select my source control provider to grant access, I select Bitbucket Server. If I try to input the Host Name with, or without a port, I'm receiving this response:
{
"message": "An error occurred",
"details": [
{
"message": "An error occurred",
"source": "host"
}
],
"actions": [],
"recovery_actions": [
{
"dismiss_label": "OK"
},
{
"feedback_label": "Provide Feedback",
"feedback_component": "Xcode Cloud | New Bugs"
}
],
"should_show_error": true
}
Which, of course, doesn't help me in the slightest to understand why the connection fails. I do notice that the request to https://appstoreconnect.apple.com/ci/api/teams/<id>/setup-flow/scm-repositories in the web inspector already includes a host and port that I use to clone the repository locally. However, the web-based interface of Bitbucket doesn't include that port.
So, if I clone a repo: ssh://<bitbucket-instance>:<port>, but if I look at pull requests: https://`.
My colleagues have already determined that there shouldn't be any firewall rules or gateway limits, so Bitbucket should be reachable. No VPN either.
How can I continue to fix this?
After pushing to a branch which is automatically configured to build and distribute on TestFlight, I found no way to log on and check Xcode cloud builds and nothing being pushed to that branch was building or showing up elsewhere in App Store Connect.
Hello Apple Developer Support Team,
I am writing to request assistance with an issue preventing me from distributing my iOS app to the App Store.
I am able to successfully build and archive my app in Xcode without errors. However, after archiving, Xcode only shows the option “Distribute Content” instead of “Distribute App”. Because of this, I am unable to upload the app to App Store Connect.
App & Account Details
• App Bundle Identifier: com.yesbuy.yesbuyapp
• Team Name: Fathima Sayed Mohamed
• Team ID: Z327MG963D
• Xcode Version: 26.2
• macOS Version: macOS 15.6.1
Signing & Certificates
• Signing Method: Automatically manage signing (enabled)
• Signing Certificate (Release): Apple Distribution: Fathima Sayed Mohamed
• Provisioning Profile: Xcode Managed / App Store Distribution
• Archive Status: Build succeeded
What I’ve Already Verified
• The archive is created using Release configuration
• Skip Install is set to No for the main app target (Runner)
• The app target is selected correctly during Archive
• A valid Apple Distribution certificate exists
• The app is registered correctly in App Store Connect
• App Groups and capabilities are configured correctly
• Notification Service Extension is present and signed
Despite all of this, Xcode still treats the archive as a Generic Xcode Archive and only allows Distribute Content, not Distribute App.
I have attached screenshots showing:
1. Xcode Archives screen (showing “Distribute Content” only)
2. Signing & Capabilities for the app target
3. Certificates and provisioning profiles
4. Team ID and bundle identifier configuration
Could you please review this issue and let me know:
• Why the archive is not recognized as an App Store–distributable app
• Whether there is any account, certificate, or configuration issue on Apple’s side
• Any steps I should take to resolve this and successfully upload the app to App Store Connect
Thank you very much for your time and support. I look forward to your guidance.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
App Store
Xcode Cloud
Developer Program
Hello,
Our Xcode Cloud builds are successfully archiving but fail every time during the "Export archive for app-store distribution" step. The issue appears to be a persistent authentication failure with App Store Connect that we are unable to resolve.
Primary Error:
The build logs show a critical authentication failure.
IDEDistribution.critical.log shows: App Store Connect request for store configuration failed for account Session Proxy Provider... Unable to authenticate with App Store Connect.
DVTITunesSoftwareService.log specifies the error is DVTITunesSoftwareServiceFoundation.DVTServicesSessionProviderCredentialITunesAuthenticationContextError.proxy.
The build process eventually terminates during the IDEDistributionSymbolsStep with an Rsync failed error, which we believe is a symptom of the earlier authentication failure.
Troubleshooting Already Performed:
We have already taken the following steps without success:
Verified the account used for the integration has "Account Holder" and "Admin" roles.
Confirmed that Xcode Cloud's automatic signing is working correctly and is able to create new provisioning profiles.
Thoroughly checked the App Store Connect web UI under Users and Access > Integrations > Xcode Cloud for a way to reset the connection, but no such option exists.
Removed and re-added the Apple ID in the Xcode application's settings (Xcode > Settings > Accounts) on a local Mac.
Our hypothesis is that the integrated authentication session between Xcode Cloud and App Store Connect is invalid or stale, and there is no user-facing way to reset it.
Has anyone else encountered this "Session Proxy Provider" authentication error with Xcode Cloud? Is there a known solution or a different method to force a re-authentication of the service connection?
Any guidance from Apple engineers or other developers would be greatly appreciated.
(Developer Support Case: 102717975870)
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Continuous Integration
Xcode Cloud