I've been getting intermittent failures on Xcode code compiling my app on multiple platforms because it fails to compile a metal shader.
The Metal Toolchain was not installed and could not compile the Metal source files. Download the Metal Toolchain from Xcode > Settings > Components and try again.
Sometimes if I re-run it, it works fine. Then I'll run it again, and it will fail.
If you tell me to file a feedback, please tell me what information would be useful and actionable, because this is all I have.
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
Hey,
We're crunching to get our products ready for the announcements next week but are being slowed down by Xcode Cloud.
Builds are failing and are extremely slow. We're using the latest Xcode beta and latest macOS release so we can upload our builds continuously to TestFlight.
We're seeing builds taking up to almost an hour, even though takes around 10-15 minutes when it doesn't fail.
The errors we're seeing seem to be timeout, for example:
Showing All Errors Only
The step invocation hit a user timeout. The xcodebuild build invocation timed out. No activity has been detected on stdout, stderr or the result bundle in 30 minutes.
Here are links to some builds which have been restarted multiple times but keep failing for reasons out of our control. Please advice on how to get unblocked.
https://appstoreconnect.apple.com/teams/69a6de80-3540-47e3-e053-5b8c7c11a4d1/apps/1102236212/ci/groups/8da12ae3-b454-4810-abe8-829f1af56a54
https://appstoreconnect.apple.com/teams/69a6de80-3540-47e3-e053-5b8c7c11a4d1/apps/1102236212/ci/groups/ee7b1fae-1363-4265-9d64-692434b7ebf2
https://appstoreconnect.apple.com/teams/69a6de80-3540-47e3-e053-5b8c7c11a4d1/apps/1102236212/ci/groups/fd915140-db2c-4b3b-bff4-16939c22665a
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
I've been running into issues with Xcode Cloud/my workflow when it's trying to archive the app. I've tested locally and both archiving and building the app for release works.
I've tried a few things to clear it.
pod deintegrate and pod install
Checking off "archive" for the build scheme
Creating a certificate for both development and distribution. I made sure automatic signing was enabled as well.
I have a ci_scripts/ci_post_clone.sh script that successfully completes.
Have tried setting the xcode version of the workflow to 16.2 which is what my local xcode version is. I've switched it back to the latest, 16.4.
running pod update
Updating flutter
However, I consistently get the following 2 errors :
`Showing All Messages
Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundlePath /Volumes/workspace/resultbundle.xcresult -resultStreamPath /Volumes/workspace/tmp/resultBundleStreame3592434-5b88-48da-a3c4-f750abee4d08.json -IDEPostProgressNotifications=YES CODE_SIGN_IDENTITY=- AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM=JG794CQD68 COMPILER_INDEX_STORE_ENABLE=NO -hideShellScriptEnvironment'
`
and
Showing All Messages
Unhandled exception:
ProcessException: No such file or directory
Command: /Users/local/flutter/bin/flutter assemble --no-version-check --output=/Volumes/workspace/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/ -dTargetPlatform=ios -dTargetFile=lib/main.dart -dBuildMode=release -dConfiguration=Release -dIosArchs=arm64 -dSdkRoot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk -dSplitDebugInfo= -dTreeShakeIcons=true -dTrackWidgetCreation=false -dDartObfuscation=false -dAction=install -dFrontendServerStarterPath= --ExtraGenSnapshotOptions= --DartDefines=RkxVVFRFUl9WRVJTSU9OPTMuMzUuMQ==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHA6Ly9naXRodWIuY29tL2ZsdXR0ZXIvZmx1dHRlci5naXQ=,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049MjBmODI3NDkzOQ==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049MWU5YTgxMWJmOA==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My45LjA= --ExtraFrontEndOptions= -dSrcRoot=/Volumes/workspace/repository/ios -dTargetDeviceOSVersion= -dCodesignIdentity=- release_ios_bundle_flutter_assets
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:519:7)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:686:18)
#2 Process.runSync (dart:io-patch/process_patch.dart:79:12)
#3 Context.runSyncProcess (file:///Users/local/flutter/packages/flutter_tools/bin/xcode_backend.dart:154:20)
#4 Context.runSync (file:///Users/local/flutter/packages/flutter_tools/bin/xcode_backend.dart:118:34)
#5 Context.buildApp (file:///Users/local/flutter/packages/flutter_tools/bin/xcode_backend.dart:539:34)
#6 Context.run (file:///Users/local/flutter/packages/flutter_tools/bin/xcode_backend.dart:51:9)
#7 main (file:///Users/local/flutter/packages/flutter_tools/bin/xcode_backend.dart:17:5)
#8 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:312:33)
#9 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:193:12)
Command PhaseScriptExecution failed with a nonzero exit code
Any help here would be greatly appreciated.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Xcode
Signing Certificates
Xcode Cloud
I have two apps in App Store Connect (same app but different bundle IDs), and I would like to manage workflows for both. However, when configuring workflows, although both apps appear on the list for configuration at first, selecting and configuring the first will be the only app available, since after that, there's no way to add the other app. It looks like a bug, but I couldn't find any additional reports of this case while browsing the web.
Hi!
For the past few days I have been experiencing slower builds in my workflows, without a clear reason of the cause as sometimes they run with the old usual time.
I tried contacting the Developer Support without success in finding out the reason of these issues, the case number was 102661768064.
As an example, I have a workflow for Pull request checks that involves testing and analyzing. This usually ran for 11-15mins, but now it could take up to 30mins or more. Looking into the logs it just seems that the machine it's particularly slow, then in another build it goes with usual times again.
As an example, below are the summaries of two builds of the same branch:
Being in the free tier, these new long times are burning my free time quite faster and probably will need to look into running this checks in GitHub Actions if it doesn't improve.
A hint of what might be wrong is also found in an error in the test workflow, which denotes a problem booting a simulator.
Any help on this will be appreciated, thanks!
I struggling in getting Xcode Cloud to work with a stand alone watch app. This app has the following three targets and each bundle identifier is set up in the Identifiers section of the developer portal.
iphone container target called Unleashed abc.xyz.Unleashed
watch target called Unleashed Watch App abc.xyz.Unleashed.watchkitapp
watch target called Unleashed WidgetExtension abc.xyz.Unleashed.watchkitapp.Unleashed-Widget
I have a App Store provisioning set up for abc.xyz.Unleashed.watchkitapp
The app runs fine in the watch simulator, but fails with the following when I do an Xcode Cloud build
Export archive for ad-hoc distribution
Export archive for development distribution
Export archive for app-store distribution
When I expand each one of these errors it reports:
Command exited with non-zero exit-code: 70
I also tried archiving the project in Xcode then selected the Archive but it won't let me validate because that button is disabled.
Very confused I have successfully used Xcode Cloud for a phone app but am having a problem with this watch app that has a widget
We started seeing an access issue today when attempting to go to the Xcode Cloud tab in App Store Connect. When you navigate to https://appstoreconnect.apple.com/teams/:teamId/apps/:appId/ci we're seeing the following message:
The page you’re looking for can’t be found.
The page you’re looking for does not exist, or you do not have permission to view it.
I am the account holder so it shouldn't be a permissions issue. Is there an ongoing outage or problem in Xcode Cloud? And, if so, where can I monitor this accurately?
The page you’re looking for can’t be found. The page you’re looking for does not exist, or you do not have permission to view it.
I have Admin role but whenever I select the tab "Xcode Cloud" on any app, the page is not loaded.
I am developer from Russia, its banned for russian users???
Please help, i cant update app
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Can anyone help me resolve this lookup issue? This has been breaking builds for months. We make no changes and after a couple hours it works.
It seems like Apple resolvers are getting a failure and then negatively caching the failure. Immediate subsequent runs extend the failure duration
this is one of our installs from a pod install
installing onnxruntime-c (1.21.0)
[!] Error installing onnxruntime-c
[!] /usr/bin/curl -f -L -o /Volumes/workspace/tmp/d20250730-29606-1v7ovh/file.zip https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.21.0.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.16.2 cocoapods-downloader/2.1'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: download.onnxruntime.ai
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
We started seeing an access issue today when attempting to go to the Xcode Cloud tab in App Store Connect. When you navigate to https://appstoreconnect.apple.com/teams/:teamId/apps/:appId/ci we're seeing the following message:
The page you’re looking for can’t be found.
The page you’re looking for does not exist, or you do not have permission to view it.
I am the account holder so it shouldn't be a permissions issue. Is there an ongoing outage or problem in Xcode Cloud? And, if so, where can I monitor this accurately?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
I'm getting this error, don't really understand why...
Showing All Errors Only
Build Archive
Export archive for ad-hoc distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
Export archive for development distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
Export archive for app-store distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
Activity Log Complete 6/26/25, 10:06 PM 0.4 seconds
We just changed the repository from Bitbucket > Github. While all connected successfully, none of the branches are appearing.
I understand usually it takes time (cache etc) but its been a good few hours.
Also tried to remove the integration and re-setup but to no avail.
I am experiencing an issue where Xcode Cloud is not available in my Apple Developer Program account on App Store Connect. Despite having an active developer membership, I cannot access or enable Xcode Cloud for my apps.
Could you please assist me in understanding why this feature is not available for my account and what steps I need to take to enable it?
Trying to submit a build to TF from Xcode 26 via Xcode Cloud (both for iOS and macOS). The operation fails with this message:
Missing app icon. Include a large app icon as a 1024 by 1024 pixel PNG for the 'Any Appearance' image well in the asset catalog of apps built for iOS or iPadOS. Without this icon, apps can't be submitted for review. For details, visit: https://developer.apple.com/documentation/xcode/configuring-your-app-icon. If you’ve added an icon made with Icon Composer, visit https://developer.apple.com/app-store-connect/release-notes/ for details about known issues.
I thought it's because Icon Composer icons may not be supported yet, but then that last sentence is confusing me. Does this mean that TF just won't support Xcode 26 uploads yet, or does it accept them and I need to provide legacy icons for my build?
Hello,
We are building a web extension that is running on all browsers.
For Safari, i have used the "XCode Cloud Safari Extension Packager" tool.
We have no Mac or anything to work with.
For the first upload, there was no problem, and the app is currently published on Safari.
Recently, we did on update on this web extension. So i thought i'd reuse the "XCode Cloud Safari Extension Packager" to upload my new version of the web extension.
But there is always the following error for each build :
Invalid Pre-Release Train. The train version '1.0' is closed for new build submissions
This bundle is invalid. The value for key CFBundleShortVersionString [1.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.0]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring
Of course, the web extension manifest.json version is set to something else than "1.0".
And i have created a new app version from the "Distrubution" pane in AppStoreConnect.
But nothing helped.
So my questions are the following :
How do i set the version of the Safari Web Extension from AppStoreConnect when uploading a new ZIP ?
How do Safari Extension Packager determine the version of the app if it is not from the manifest.json version ?
Is it a bug from Safari Extension Packager or is there something i am missing ?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hi everyone,
we're experiencing problems with our unit test builds on Xcode cloud. Without having changed anything in our build configuration, we're getting failed builds (that also take a loooong time) withour any of the build / test steps showing any sign of failures.
Maybe related: the "Save artifacts" step of the build appears to have taken almost an hour, but its individual sub-steps only took seconds.
Is anyone else having those problems as well?
-Gereon
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
We started seeing an access issue today when attempting to go to the Xcode Cloud tab in App Store Connect. When you navigate to https://appstoreconnect.apple.com/teams/:teamId/apps/:appId/ci we're seeing the following message:
The page you’re looking for can’t be found.
The page you’re looking for does not exist, or you do not have permission to view it.
I am the account holder so it shouldn't be a permissions issue. Is there an ongoing outage or problem in Xcode Cloud? And, if so, where can I monitor this accurately?
Hello,
I'm getting started for my project with Xcode Cloud since I upgraded to the macOS Sequioa Beta and Xcode 16 now refuses to archive builds for TestFlight.
Somewhere very late in the build process I get the following error:
realitytool requires Metal for this operation and it is not available in this build environment
The log says this happens at:
Compile Skybox urban.skybox
My project uses RealityKit. How can I fix this issue?
Thanks!
Dear all,
For an important client, we are currently experiencing issues related to performance IOS build using Xcode Cloud.
More in detail, their build process is taking approximately 30 minutes to complete at the moment, whereas the same build executed locally on a Mac machine takes around 7 minutes.
This significant difference in build times is causing concerns and slowing down the development work. We would appreciate your support in identifying possible causes and exploring different ways to improve the actual situation (ex if it is possible to increase the Cloud machine calculation power).
Could you please advise us on how we might proceed to analyze and potentially optimize the build times on Xcode Cloud? What kind of processors are used?
Any guidance, best practices, or diagnostic steps you can suggest would be greatly appreciated.
Looking forward to your support.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Developer Tools
Xcode Server
Xcode
Compiler