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.
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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have an app that downloads different pods, but they suddenly stopped:
curl: (6) Could not resolve host: dl.google.com
Warning: Problem : timeout. Will retry in 1 seconds.
curl: (6) Could not resolve host: dl.google.com
Warning: Problem : timeout. Will retry in 2 seconds. 1 retries left.
curl: (6) Could not resolve host: dl.google.com
Earlier it did not find https://cdn.cocoapods.org
Temp issue or do you have to setup DNS of some sort?
This happens way too often (see the image below). Especially today.
I used this snippet from the offical Rust website to install rustup: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Run ci_post_clone.sh script
Run command: 'cd /Volumes/workspace/repository/apps/app/ios/ci_scripts && /Volumes/workspace/repository/apps/app/ios/ci_scripts/ci_post_clone.sh'
info: downloading installer
warn: curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
error: command failed: downloader https://static.rust-lang.org/rustup/dist/x86_64-apple-darwin/rustup-init /var/folders/6h/_32gb9js77g6c54h3q7g6q1h0000gn/T/tmp.yave38jqWa/rustup-init x86_64-apple-darwin
Error: Command exited with non-zero exit-code: 1
Warning: Running ci_post_clone.sh script failed (exited with code 1). Executable scripts are run using the interpreter specified in the shebang line.
Dear Xcode cloud support.
on 30.1.2026 Xcode cloud was not able to connect to our git server.
so I deleted the repository from app store connect Xcode cloud settings and deleted the Xcode cloud in app store connect for all our apps.
I started to create Xcode cloud workflow from Xcode and when I want to Grant Access - Register GitLab Application - to our git repository I get and error :
"504 Client Timeout. If you are using a firewall, it must be configured to accept incoming connections."
git is behind VPN but the IP address ranges 17.58.0.0/18, 17.58.192.0/18, and 57.103.0.0/22 are white labeled and before 30.1.2026 it was working.
I contacted the gitlab administrators and they acknowledged that during "Register GitLab Application" they see no traffic (in gltlab and proxy server) from xcode cloud.
I tried "Register GitLab Application" multiple times until now with same error.
It is not app specific because this error happens for all our apps.
Thanks a lot
yours sincerely,
Zoltan Bognar
More Info:
Source Control Provider: git-lab self-managed,
tested with web browser: safari, chrome
I can provide additional info like
Primary repository,
App store team ID,
Entity Name,
Link to repository,
Application ID to grant access,
and bundle id.
if needed.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
I am unable to connect Xcode Cloud to my GitHub organization repository despite being the organization owner.
Error: CI.SCM.Error.RepositoryNotFound
Xcode Version: 16.2 (or your version)
Steps I have taken:
Verified I am an Owner of the GitHub organization
Uninstalled and reinstalled Xcode Cloud GitHub App multiple times
Cleared all local Xcode caches and preferences
Signed out of Apple ID on Mac and restarted
Signed back in to Xcode only (not system level)
Tried granting access again
Attempted with multiple organization owner accounts
Following API shows:
401 Unauthorized on https://appstoreconnect.apple.com/olympus/v1/providerSwitchRequests
Additional context:
GitHub App shows as successfully installed on organization
Repository access set to "All repositories"
Has anyone else encountered this or found a workaround?
Thank you!
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Recently, I have trouble with my Xcode Cloud builds, where they seemingly complete, but the very final step does not happen.
I am building from the same codebase for both macOS and iOS (I have two “Archive” steps in my workflow, one for iOS and one for macOS). The iOS one usually completes fast without problems. The macOS log ending looks like this, and remains stuck forever, with the macOS build in the “spinning progress” state and never completing.
Is there something I can do on my end to make this work better? I would not want to go back to manual builds, Xcode Cloud is convenient and was working well for a while, but this is really annoying lately.
Hi,
I'm trying to use the change url functionality to switch my Xcode Cloud setup from Gitlab.com to my self hosted Gitlab instance. The setup process completes successfully, however, Xcode Cloud does not create any web hooks in my repo and also is not able to fetch any branch/tag information from the Gitlab instance.
There is also no error displayed on Xcode Cloud UI. I even tried to debug by looking at requests on my server to see if there are any clues, to no avail.
The only clue seems to be that in my repositories page, I see the instance listed but the row is highlighted red (which I assume means there's an issue with the connection). The last accessed date is also empty. The call to the /repos-v3 endpoint from App Store Connect seems to indicate there's an authentication issue:
{
"primary_repos" : [ {
"repo" : {
"id" : "xxxxxxxxxxx",
"http_clone_url" : "xxxxxxxxxxx",
"owner_name" : "xxxxxxxxxxx",
"repo_name" : "xxxxxxxxxxx-ios",
"repo_id" : "7",
"provider" : "gitlab-hosted",
"ssh_clone_url" : "ssh://xxxxxxxxxxx",
"scp_clone_url" : "git@xxxxxxxxxxx",
"default_branch" : "master"
},
"authorization_state" : "unauthorized"
} ],
"additional_repos" : [ ],
"unauthorized_repos" : [ ],
"revoked_repos" : [ ]
}
On my end, when I try to add the repository to Xcode Cloud, I see a few requests to my GitLab instance, all of which succeed with 200:
{"time":"2025-03-11T21:10:26.217Z","severity":"INFO","duration_s":0.05674,"db_duration_s":0.00567,"view_duration_s":0.05107,"status":200,"method":"GET","path":"/api/v4/user",....
{"time":"2025-03-11T21:10:26.797Z","severity":"INFO","duration_s":0.16682,"db_duration_s":0.02024,"view_duration_s":0.14658,"status":200,"method":"GET","path":"/api/v4/projects/xxxxxx%2Fxxxxxx-ios",....
{"time":"2025-03-11T21:10:28.298Z","severity":"INFO","duration_s":0.06617,"db_duration_s":0.00835,"view_duration_s":0.05782,"status":200,"method":"GET","path":"/api/v4/user",....
{"time":"2025-03-11T21:10:28.867Z","severity":"INFO","duration_s":0.21071,"db_duration_s":0.03075,"view_duration_s":0.17996,"status":200,"method":"GET","path":"/api/v4/projects/xxxxxx%2Fxxxxxx-ios",....
{"time":"2025-03-11T21:10:30.621Z","severity":"INFO","duration_s":0.15613,"db_duration_s":0.01842,"view_duration_s":0.13771,"status":200,"method":"GET","path":"/api/v4/projects/7",....
{"time":"2025-03-11T21:10:31.239Z","severity":"INFO","duration_s":0.1672,"db_duration_s":0.01828,"view_duration_s":0.14892,"status":200,"method":"GET","path":"/api/v4/projects/7",.....
At this point I'm sure this is some sort of a bug with Xcode Cloud since the requests do succeed but Xcode Cloud is unable to process the responses and identify the correct branches and tags, as well as set the web hook for the repo.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
App Store Connect
App Store Connect API
Xcode Cloud
Possible a duplicate of this resolved post from November, but I can't access any Xcode Cloud artefacts with the message "You are not authorized to access this team’s resources."
Trying to access from within Xcode itself crashes Xcode 🙃
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Am I doing something wrong?
FB18269317
Hello,
When archiving a binary with Xcode, I've always kept my archives in the Organizer so I can symbolicate crash logs using the dSYM files.
I've been thinking about moving to Xcode Cloud for archiving.
Will crash logs still be symbolicated and readable in the Xcode Organizer?
Thank you,
Axel
I'm setting up a first workflow in Xcode Cloud and when I go through the flow and reach the 'Grant Access to your source code' pane, my projects repo is listed as primary and has a green checkmark next to it, but one of my SPM dependencies does not. When I press the 'Grant Access' it launches AppStoreConnect which complains the repo can't be found or I don't have the correct admin permissions.
I'm using BitBucket Cloud and both repos are mine and I am the admin for both. Xcode itself will build the dependency locally correctly.
I did see that the dependent SPM package needs a Package.resolved checked in, which I've now done, but I can still no longer get past the Grant Access step.
When I try to add myself as admin to the dependent repo, BitBucket says I can't be added because I'm already an admin. This is the same for the projects primary repo as well. But Xcode still thinks I only have read access. How do I get passed this? Xcode isn't even telling me what repo is troublesome:
{
"category" : "xcode-cloud-data",
"column" : "23",
"subsystem" : "com.apple.dt.XcodeCloudKit",
"details" : "Error alert: You must have Admin or Write access to your repository. Your current permission level is read.: ModelErrorResponseError(error: XcodeCloudAPI.Components.Schemas.ErrorResponse(message: \"You must have Admin or Write access to your repository. Your current permission level is read.\", errorKey: nil, helpUrl: nil, details: [], body: nil, actions: []), httpStatus: XcodeCloudCombineAPI.LegacyHttpStatus.badRequest, traceId: Optional(\"ee71bf64b8cf2c27\"), requestUrl: Optional(https:\/\/appstoreconnect.apple.com\/ci\/api\/teams\/69a6de89-4b61-47e3-e053-5b8c7c11a4d1\/products-v2\/A80C7CA9-25F0-4DCA-B7CC-D789A5022B88))\nError Description: Optional(\"You must have Admin or Write access to your repository. Your current permission level is read.\")\nRecovery Suggestion: nil\nHelp Anchor: nil",
"createdAt" : "2025-06-28T18:49:15Z",
"level" : "info",
"filename" : "Logger+Additions.swift",
"funcName" : "logError(_:)",
"line" : "36"
},
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
My post-build script takes the "developeridexport" archive export, zips it up and uses notarytool to notarize it. I then add the .zip to a .dmg disk image. The next step is to codesign the disk image before notarizing that too. The issue is my Developer ID Application certificate is not accessible to the build host. (When I was doing this in Microsoft AppCenter (now defunct), it had a copy of my Developer ID Application certificate.) What steps do I need to take to get the disk image signed for notarization?
Thanks!
Lance
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Signing Certificates
Code Signing
Developer ID
Some of my apps are configured to use Xcode Cloud. Some time ago, this service was blocked for developers from Russia. I want to transfer one of my apps to another account. But there is the following requirement in the checklist: "You must remove all Xcode Cloud related data from the app you want transferred." I can't do it myself because I see an error in App Store Connect: "The page you’re looking for can’t be found.". It is also not available through Xcode. I would like to delete all Xcode Cloud settings for all my apps. Can you help me with this?
We are integrating Xcode Cloud into a larger CI/CD pipeline and ran into a serious limitation that makes proper build status reporting nearly impossible.
Currently, Xcode Cloud provides only the following custom script phases:
• ci_post_clone.sh
• ci_pre_xcodebuild.sh
• ci_post_xcodebuild.sh
However, if a build fails during the actual Xcode build phase (for example, due to a compilation error, unit test failure, or signing issue), the ci_post_xcodebuild.sh script does not run. This means there is no guaranteed way to execute cleanup steps or send external notifications (e.g., updating build status in Bitbucket, Slack, or any external CI system).
In any robust CI/CD setup, it’s critical to have a “finally” or “always run” hook that executes regardless of build success or failure — similar to post blocks in Jenkins, finally steps in GitHub Actions, or after_script in GitLab CI.
Without such a mechanism, we cannot reliably integrate Xcode Cloud with the rest of our automation and monitoring ecosystem. This effectively breaks standard CI/CD practices, since external systems will never know if a build failed unless they constantly poll the Xcode Cloud API.
Feature request:
Please add a new hook (e.g., ci_finally.sh or ci_post_build.sh) that always executes after the build, whether it succeeded, failed, or was canceled.
This would make Xcode Cloud much more suitable for professional CI/CD environments and allow proper integration with third-party systems.
Just learnt today that personal development teams do not support the Push Notifications and iCloud capabilities, is there any workaround besides pay another 99 for an enterprise development account? Thanks in advance.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
I have checked that my scheme is shared and I do in fact have the scheme in my xcode project. But whenever I try to run Xcode cloud, it fails with the message that "A scheme named 'MyAppScheme' does not exist in MyAppProject.xcodeproj"
Any tips on what I could be doing wrong?
Dear
We try to generate IPA with Xcode Cloud but this task fail in Export archive phase (Export archive for app-store distribution).
The error that appear in the archive logs is:
error: exportArchive Provisioning profile "iOS Team Store Provisioning Profile: cl.app.myapp" doesn't include the com.apple.CommCenter.fine-grained entitlement.
Any idea about to resolve this problem ?
king regards
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Xcode Cloud
Entitlements
Provisioning Profiles
We are transferring ownership of an app from one org to another. Most things seem to be transferring as expected thus far according to this page, with the exception of our Xcode Cloud configuration and workflows. I understand that they are connected to source code (Github in this case), so those would probably need to be reconnected, but is there any way to get some of the configuration/workflows transferred?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
App Store
App Store Connect
Xcode
Xcode Cloud
I've recently added iCloud backup on my chat app. Conversations are backing up fine but some users are losing their chats and when I see the telemetry it show "BAD_REQUEST" error. I couldn't find any details or solution for it.
Does anyone has any idea what it could be? My development scheme is already fully deployed to production.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
CloudKit
iCloud Drive
CloudKit Console
I am trying to find answers to the following questions about the XCode Cloud infrastructure for compliance purposes, but could not find it in the documentation.
Where is the Xcode Cloud infrastructure hosted?
Is there any way to specify that your builds happen in the US only?
Does Xcode Cloud infra have any SLA on uptime?
Does XCode Cloud meet any kind security compliance standards?