We have a cross platform app that we build with Xcode Cloud and distribute via TestFlight.
We want to test builds with the Xcode Beta. So we have the following build environment:
Xcode version: Xcode 16 beta 6 (16A5230g)
macOS Version: macOS Sonoma 14.5 (23F79)
Everything builds and submits to TestFlight fine. The App runs fine on iOS 18 beta and macOS 15 beta. But when attempting to install via TestFlight and launch the App on macOS 14..6.1 it crashes immediately with what appears to be a missing Foundation symbol.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 4 Symbol missing
Symbol not found: _$s10Foundation14NSDecimalRoundyySpySo0B0aG_SPyADGSiSo14NSRoundingModeVtF
Referenced from: <CBEBC813-C7B6-3D8E-BE62-16F2EFFEB1FE> /Applications/MyApp.app/Contents/MacOS/MyApp
Expected in: <2F87A303-430F-3EA5-9492-3033F4FEE64B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(terminated at launch; ignore backtrace)
Thread 0 Crashed:
0 dyld 0x7ff8139f687a __abort_with_payload + 10
1 dyld 0x7ff813a0f7f7 abort_with_payload_wrapper_internal + 82
2 dyld 0x7ff813a0f829 abort_with_payload + 9
3 dyld 0x7ff81399c2b5 dyld4::halt(char const*, dyld4::StructuredError const*) + 335
4 dyld 0x7ff8139994bd dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4099
5 dyld 0x7ff8139982e4 start + 1812
Is it expected that this should work? Is this a known issue? Is there any workaround for it?
Should I file feedback or a DTS?
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
My workflow has been running tests on iOS 15, 16 and 17 for a long time now, but suddenly it started to fail for iOS 15 and 16.
The error does not seem to be code related, since it is a Xcode Cloud failure saying: "Failed to download iOS 16.1 simulator runtime".
The exact same issue is showing for iOS 15. It works as expected on iOS 17.
I have also reported this in the Feedback Assistant: FB14855036
If someone knows a work-around for this issue, I'd be happy to hear about it!
Hi, recently something happened in Xcode Cloud, and the build times increased massively. In our CI workflow we run test, and one of the phases executes xcodebuild build-for-testing: the duration of this phase moved from about 8 minutes to about 36 minutes, without any major changes on our side.
We observed this:
in different apps;
even when running a build on a old tag.
All other phases don't seem affected, it's just the xcodebuild build-for-testing phase.
I'm attaching 2 screenshots of the logs from AppStoreConnect that show the duration of each phase, where build 7600 is older and 7700 is more recent (but was run on a tag from a few weeks ago, to exclude issues related with the code base itself).
We had not other option than to disable the CI checks for PRs, because they would take too long, and use up too much of Xcode Cloud time.
What's happening?
Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
When testing on Xcode Cloud I am unable to use any simulators between iOS 16.2 and 17.5. I'm glad that there are options for <= 16.1, but given how small those userbases must be at this point it feels rather odd. Similarly, iOS 18 is still very new so it also has a disproportionately small number of users on it. Does not seem to matter if explicitly selecting Xcode/macOS versions.
Am I configuring something incorrectly? Picked something wrong on a dropdown, checked the wrong box when setting up the workflow?
Xcode 15.4 allows building to iOS 17.5, but not iOS 18. 🙃
Hi
I am trying to integrate Xcode Cloud in our project but always getting This operation could not be completed error on Grant Access to Your Source Code screen. Upon send a feedback got to know that there is a API failure with status code 403.
please help in resolving this
Thanks
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
Hi Guys,
I was wondering if anyone here experienced an error with XCode Cloud when running pipelines, specifically
Error is: "An internal error was detected which caused this stage to error. The error has been logged, and you can re-run this build again."
Upon checking the logs, there is no specific error other than the above and
"The pipeline action could not complete due to an error. The error may not occur on rebuild."
Note that in the pipeline, there is an obfuscation step using IXGuard. However, the IXGuard steps show successful on the logs.
Recently I noticed that when I build and archive my app with Xcode Cloud, it fails due to code signing issue. But that's weird because I have all development and distribution certificates. Does anyone have any idea how to solve this?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Signing Certificates
Code Signing
Xcode Cloud
Error: 'Runningboard has returned error 5'
I am able to run my unit tests locally just fine. When I run them to from xcode cloud It fails everytime. I did notice in app store connect that it gives me a warning 'Grant access to the following repositories to allow them to be used for this product.' as I am using google sign in iOS(https://github.com/google/googlesignin-ios.git). However I cannot grant this access as I do not have privileges to google code base. I have imported the google sign in via swift package manager and everything works fine.
This is the report from xcode cloud if it helps. Happy to add any additional info that will help
I Use Angular/Ionic and none matter with Android.
But with IOS, it's very complicated.
I Use Xcode CLoud, but I have this error :
Unable to open base configuration reference file '/Volumes/workspace/repository/ios/App/Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig'.
App.xcodeproj:1
I don't know this path : /Volumes/workspace/repository and I don't know why Xcode cloud use it..
I have on my local : nameApp//ios/App/Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig'.
I need your help please, already 1 month I've been on it just to succeed in building on ios
Hi!
I have some unit tests which send and receive local notifications. Unfortunately, when ran on Xcode Cloud, the tests time out. I assume due to a call to requestAuthorization in init() (I have started using Swift Testing).
Is there a way to get around this issue in order to run the tests?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
User Notifications
Xcode Cloud
Continuous Integration
Swift Testing
My team's Xcode Cloud build started timing out when we recently upgraded to Xcode 16.0.0. Specifically, the test build phase times out due to exceeding the 2 hour limit.
The Test - iOS action could not complete due to an error. The error may not occur on rebuild.
Build has exceeded the maximum allotted time. Each build can run for up to 120 minutes. If a build has not yet finished at this time, all incomplete actions will be cancelled.
When running Xcode 15.4.0, the test build phase completed in roughly 45 minutes.
It's also important to know that our test build completes in about 15 minutes when executing on one of our in-house Mac mini build machines (Apple Silicon). So the issue seems to be with Xcode Cloud + Xcode 16.0.0 and not our project.
We have been burning through Xcode Cloud hours hoping that at some point Xcode Cloud will be fixed.
The status page right now is all "green":
https://developer.apple.com/system-status/
Is there a known issue with Xcode Cloud + running tests? We have combed through our project's Xcode Cloud logs and artifacts, but nothing jumps out as something on our end.
Also, there is a large file named "Test Products for ", but we can't download it due to crashes/ errors:
The Xcode IDE UI shows this file as 1.99GB
Xcode crashes when attempting to download the file.
The App Store Connect UI shows this file as ~1GB (possibly just omitting precision).
An error response page is returned when attempting to download.
Thanks in advance for any advice/ feedback.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hi, i'am using self hosted gitlab repository. Since yesterday on my xcode cloud page display "Unable to connect to repository ....Reconnect the repository to resume builds".
When i click the reconnect button, it shows that xcode cloud successfully reconnected. But even after reloading the page, it still showing the same message.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hello Developers,
I regularly use Xcode Cloud to run unit tests, but since the release of Xcode 16, the testing process has become significantly slower.
I am seeking advice on how to improve the situation.
[ Details ]
With Xcode 15.4, unit tests took about 1 hour to complete.
However, since upgrading to Xcode 16, the tests have not finished even after 2 hours.
The blog post linked below also mentions significant overhead in running unit tests on Xcode Cloud, even with Xcode 15.4:
https://dwango.github.io/articles/2024-07_nicoiphone_xcode_cloud/#%E3%83%86%E3%82%B9%E3%83%88%E5%AE%9F%E8%A1%8C%E6%99%82%E9%96%93%E3%81%8C%E5%A2%97%E5%8A%A0%E3%81%97%E3%81%A6%E3%81%97%E3%81%BE%E3%81%86%E5%95%8F%E9%A1%8C
According to the blog, while reviewing the xcodebuild-test-without-building.log, it was observed that the time from start to finish was about 4 minutes.
However, the overall “Run xcodebuild test-without-building” process took 23 minutes, with around 20 minutes of apparent idle time.
It seems that the idle time has increased even further with Xcode 16, resulting in more than twice the testing time.
[ Question/Request ]
Is there any way to reduce the overhead when running unit tests on Xcode Cloud, especially with the increased overhead in Xcode 16?
Any advice or solutions for improving the performance would be greatly appreciated.
Best regards,
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Xcode
XCTest
Xcode Cloud
Swift Testing
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
Xcode Cloud always exports archive using ad-hoc, development and app-store profiles. This uses up 5-6 more minutes always for my app. How to disable and allow export only in single distribution profile
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Signing Certificates
Xcode Cloud
wwdc2023-10224
wwdc2023-10278
I added a new target for macOS to my existing iPhone app. The new target ran successfully in Xcode. However, when I committed the changes, Xcode Cloud generated the error.
I don't know what the error means. Would someone please give me a pointer? Thank you.
Issue Description
The current Xcode Cloud webhook functionality requires developers to expose a public URL to receive webhook events, which poses a challenge in environments with security restrictions or limited network accessibility. Many developers need to receive webhook events locally without exposing their servers to the public internet.
Proposed Solution
A feature similar to Slack’s "Socket Mode" would allow developers to receive webhook events over a WebSocket connection without exposing a public URL. This socket-based solution could offer a more secure, streamlined, and accessible way for developers to work with webhooks, especially in closed network environments.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Developer Tools
App Store Connect
Xcode Cloud
I'm trying to make a ci_post_clone.sh script to build an Ionic iOS app trough xCloud
I've been looking trough internet, trough official apple documentation but haven't been able to solve the issue
the script is working on macOS local machine but it fails again and again on xCloud enviornment
I'm attaching the full script ci_post_clone.sh (swapped to .txt extension for being able to upload it)
along the
ci_post_clone.log
ci_post_clone.log
ci_post_clone.txt
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hej hej
tl;dr. I have problems building a Playground App using Xcode Cloud and I created a reference repository to reproduce this. Did anyone try this before and succeeded? Maybe you have a hint about what's going wrong here.
Initial Failure
I followed the documentation for Building Swift packages and Swift Playgrounds app projects with Xcode Cloud and I have always run into the following error message:
❌ Code Signing
Exporting for App Store Distribution failed. Please download the logs artifact for more information
Check Logs
“Fair game!” I thought, checked out the logs and see this error appearing twice in each of the following steps:
Export archive for ad-hoc distribution
Export archive for development distribution
Export archive for app-store distribution
5.3 Sec.
Run command: 'xcodebuild -exportArchive -archivePath /Volumes/workspace/tmp/3546d064-74fa-42d0-8b36-3623e18941be.xcarchive -exportPath /Volumes/workspace/adhocexport -exportOptionsPlist /Volumes/workspace/ci/ad-hoc-exportoptions.plist '-DVTPortalRequest.Endpoint=http://172.16.35.199:8089' -DVTProvisioningIsManaged=YES -IDEDistributionLogDirectory=/Volumes/workspace/tmp/ad-hoc-export-archive-logs -DVTSkipCertificateValidityCheck=YES -DVTServicesLogLevel=3'
Error
Command exited with non-zero exit-code: 70
Moving forward, I downloaded the logs artifact as suggested earlier. This is IDEDistribution.standard.log:
2024-10-27 11:15:04 +0000 [MT] Starting export with options: {"embedOnDemandResourcesAssetPacksInBundle":true,"teamID":"38R2LLP8AF","stripSwiftSymbols":true,"thinning":"<none>","iCloudContainerEnvironment":"Development","destination":"export","reformatterBundleIdentifier":"hamburg.plus.encore","uploadSymbols":true,"raiseProfileSupportOptionalToRequired":false,"buildNumber":"4","testFlightInternalTestingOnly":false,"manageAppVersionAndBuildNumber":false,"method":"ad-hoc","generateAppStoreInformation":false}
This is IDEDistribution.critical.log (actually it's three times this single error, but I'll spare you the repetition):
2024-10-27 11:15:04 +0000 [MT] -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:logAspect:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error}
And this is an excerpt (of hopefully relevant details) of IDEDistribution.verbose.log (again, this happens three times, only giving the relevant data points here):
…
2024-10-27 11:15:04 +0000 [MT] Rejected distribution method <IDEDistributionMethodiOSAdHoc: 0x600001590100> because it doesn't support distributing archive
…
2024-10-27 11:15:04 +0000 [MT] Rejected distribution method <IDEDistributionMethodiOSAppStoreValidation: 0x6000015900f0> because it doesn't support distributing archive
…
2024-10-27 11:15:04 +0000 [MT] Rejected distribution method <IDEDistributionMethodiOSAppStoreDistribution: 0x600001590120> because it doesn't support distributing archive
…
2024-10-27 11:15:04 +0000 [MT] Rejected distribution method <IDEDistributionMethodiOSAdHoc: 0x600001590100> because it doesn't support distributing archive
…
2024-10-27 11:15:04 +0000 [MT] Available distribution methods: {(
<IDEDistributionMethodSaveBuiltProducts: 0x6000015f8060>,
<IDEDistributionMethodExportArchive: 0x6000015f8070>
)}
Investigate Xcode Archive (*.xcarchive)
At this point, I downloaded the Xcode archive from AppStoreConnect and realized that it only contained debug symbols for the app, but not the app itself.
> ls -la /Users/herzi/Downloads/….xcarchive/Products
total 0
drwxrwxr-x@ 2 herzi staff 64 27 Okt 12:21 .
drwxrwxr-x@ 5 herzi staff 160 27 Okt 12:22 ..
Notice the absence of the Applications folder that would contain the Application.app bundle.
Current Status
So I created a clean, sample repository for my integration. Did anyone try this before and succeeded? Maybe you have a hint about what's going wrong here.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Xcode
Swift Playground
Swift Packages
Xcode Cloud