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
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
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.
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'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
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
Hello, when I attempt to sign into XCode Cloud, I am prompted to enter my icloud user name and password. I enter my credentials and I press sign-in. It registers and the window closes, then nothing happens. No error messages or anything. Any help would be appreciated!
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
What certificate does Xcode cloud use when distribute apps to App Store?
Since cloud managed certs can't be downloaded, how to get its public key for the f..king recordation in China?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Signing Certificates
App Store Connect
I am creating a macOS app with the following requirements:
Automatic Startup: After initial installation, the app should automatically start, even after the OS restarts.
Notarized Installation: The installation package (.pkg) should be notarized to avoid user have to make security exception.
In my current setup I’ve created a script, ci_scripts/ci_post_xcodebuild.sh, which uploads the package file $CI_APP_STORE_SIGNED_APP_PATH/<appName>.pkg to GitHub via Xcode Cloud. While I can successfully download the app, I’m encountering two main issues:
Notarization (I assume): I’m unsure how to get Xcode Cloud to notarize the .pkg file. Currently, upon opening the .pkg file for the first time, users have to go to System Settings > Privacy & Security to allow an exception for the package, after which installation proceeds successfully on second try. I’d like to automate the notarization process to eliminate this extra step.
Adding Additional Files to PKG installer: My current .pkg file only includes the app binary. I need to configure Xcode Cloud to include a postinstall script and a launchd daemon configuration file within the package. This would ensure that necessary files are set up on installation and that the app is properly registered as a launch daemon.
In the code below, the check for the toggle value passed in my xcode. However, it failed in cloud, i.e., that value was still "0" after being tapped.
func testToggle() throws {
let app = XCUIApplication()
app.launch()
let fieldName = "MyToggle"
let field = app.switches[fieldName]
XCTAssertTrue(field.exists, "Field '\(fieldName)' should exist|debug = \(app.debugDescription)")
let firstMatch = field.switches.firstMatch
firstMatch.tap()
#if FAILED_XCODE_CLOUD
// Verify the toggle/switch is in the desired state
XCTAssertEqual(firstMatch.value as? String, "1", "Field '\(fieldName)' should be ON|debug = \(app.debugDescription)") // "1" is On, "0" is Off
#endif
}
In addition, I'd also like to ask why a traverse to firstMatch is needed?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
The build status has a green check in Xcode Cloud, but TestFlight see no builds and suggest that I submit one. Then it provides a link to an incredibly unhelpful list of upload tools, at least one of which suggests creating a developer account!!!
All our builds getting stuck on the que.
https://developer.apple.com/system-status/
is not showing xcode cloud as down.
Hello, when I open the "Cloud" tab in the Report navigator, it shows "Failed to analyze workspace" and I cannot do anything. I can't start a build, nor can I manage or create workflows. All options are greyed out.
When loading the project, in Console I see the following errors from Xcode:
fault 11:07:19.805349+0100 Xcode ❌❌❌ Assertion failure #0 in <private>
error 11:07:19.816641+0100 Xcode ❌❌❌ Assertion backtrace: >><private>0 XcodeCloudKit 0x00000001195309d8 $s13XcodeCloudKit17AssertionHandlingPAAE16logFullBacktraceyyFAA0D0O7HandlerV_Tg5Tf4d_n + 48
1 XcodeCloudKit 0x00000001192583c4 $s13XcodeCloudKit26ShellBasedProjectDescriberPAAE17describePublishery7Combine03AnyI0Vy6OutputQzs5Error_pG5InputQzFAKs5Int32V_10Foundation4DataVARtcfU_AA021AllArchivableProductsdG0V_Tg5 + 2012
2 XcodeCloudKit 0x000000011925ec90 $ss5Int32V10Foundation4DataVAE7Combine12AnyPublisherVy6Output13XcodeCloudKit26ShellBasedProjectDescriberPQzs5Error_pGIegyggo_AB8exitCode_AE6stdoutAE6stderrtAOIegnr_AjKRzlTRAJ021AllArchivableProductskN0V_TG5TA + 40
3 Combine 0x00000001a072351c $s7Combine10PublishersO7FlatMapV5Outer33_E91C3F00A6DFAAFEA2009FAF507AE039LLC7receiveyAA11SubscribersO6DemandV6OutputQy_F + 300
4 Combine 0x00000001a0725128 $s7Combine10PublishersO7FlatMapV5Outer33_E91C3F00A6DFAAFEA2<…>
<<
fault 11:07:19.822299+0100 Xcode ❌❌❌ Assertion failure #0 in <private>
fault 11:07:19.822405+0100 Xcode ❌❌❌ Assertion failure #0 in <private>
error 11:07:19.824577+0100 Xcode ❌❌❌ Assertion backtrace: >><private>0 XcodeCloudKit 0x00000001195309d8 $s13XcodeCloudKit17AssertionHandlingPAAE16logFullBacktraceyyFAA0D0O7HandlerV_Tg5Tf4d_n + 48
1 XcodeCloudKit 0x00000001195e088c $s13XcodeCloudKit17DiscoveredProductO16DescriptorsCacheC13updatePlanner11environmentyAA21DeploymentEnvironmentO_tFys6ResultOySayAC0E10DescriptorVGs5Error_pGcfU_ + 740
2 XcodeCloudKit 0x0000000119289fa8 $s7Combine9PublisherP13XcodeCloudKitE18sinkAtMostOneValue4file4line6resultAA14AnyCancellableCs12StaticStringV_Suys6ResultOy6OutputQzs5Error_pGctFyAA11SubscribersO10CompletionOy_sAQ_pGcfU0_AA0nB0VySay0cD3API10ComponentsO7SchemasO13BuildArtifactVGsAQ_pG_Tg5Tm + 68
3 XcodeCloudKit 0x00000001192a1ef4 $s7Combine9PublisherP13XcodeCloudKitE18sinkAtMostOneValue4file4line6resultAA14AnyCancellableCs12StaticStringV_Suys6ResultOy6OutputQzs5Error_pGctFyAA11SubscribersO10CompletionOy_sAQ_pGcfU0_AA0nB0VySay0cD3API10ComponentsO7Sc<…>
<<
Obtained by filtering by xcode-cloud-assertion category.
Is there anything I can do to fix this? Thanks!
Build's are queued for 1 hour+ and System Status page is not showing any issues: https://developer.apple.com/system-status/
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hello,
im trying to configure my Gitlab Community Edition Instance for Xcode Cloud, but it always fails that Xcode Cloud is not able to find the repository. I have tried different things. Also tried with the admin user. The rights are also matching (Scopes: api, read_user, , read_repository). And I’m also the owner of the repository.
Then I have looked into the logs of the GitLab instance and noticed something weird:
127.0.0.1 - - [11/Dec/2024:22:19:58 +0100] "GET /api/v4/projects HTTP/1.1" 200 1590 "" "Xcode Cloud" 7.56
127.0.0.1 - - [11/Dec/2024:22:19:58 +0100] "GET /api/v3/meta HTTP/1.1" 410 62 "" "Xcode Cloud" -
127.0.0.1 - - [11/Dec/2024:22:19:58 +0100] "GET /api/v4/projects HTTP/1.1" 200 1590 "" "Xcode Cloud" 7.56
Like the first and third api call makes sense. Trying to fetch the projects and is also successful (status code 200). But then I see Xcode Cloud is trying to access another API, which seems to be from GitHub. At some other location in the log I have seen a API call from Bitbucket. So why does Xcode cloud tries to call APIs from other providers, when I have selected the GitLab one at the configuration? Is this a bug or is this intended? Have tried now many things and I have absolutely no idea what the problem is, because Xcode cloud is also not giving really detailed logs about the errors.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
I have an existing project, that's hosted in a self-hosted gitlab instance. Git works through terminal just fine (and has for years!) and the Source Control Navigator pane in Xcode shows the remote repository. However when I try to setup Xcode cloud I get a warning that there's the project does not hav a remote repository. I've tried clearing derived data, cleaning the build folder, restarting to no avail. I even tried creating a new project in Xcode, and having Xcode create the remote repository (which it did successfully). But no matter what I try it will not recognize the remote repository. I've also tried adding another remote origin, and I can see it just fine in the Xcode Source Control pane, but the Xcode cloud setup does not recognize it.
Any suggestions?
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Issue with "Mine" Branch Not Displaying After Switching GitHub Accounts in XcodeCloud
I have been using XcodeCloud for a while. Recently, in one of my projects, I switched from using my personal GitHub account to a separate GitHub account for work purposes. Since then, when I manually start a workflow, nothing is displayed under the "Mine" section on the branch selection screen.
I suspect that Xcode is attempting to list branches from the previously used account, causing branches from my new account not to appear. Where are these old account settings stored, and how can I reset them?
For reference:
In Xcode's Accounts settings, only the new GitHub account is present—the old account is no longer listed.
The git user in the local repository has also been updated to the new one.
Any assistance on how to resolve this issue would be greatly appreciated!
I am experiencing significant delays with TestFlight Internal Testing processing in Xcode Cloud. The build has been stuck in the processing state for over 8 hours, which is significantly longer than our usual deployment time.
Issue Details:
Product: Xcode Cloud / TestFlight Internal Testing
Time in Processing: 8+ hours
Build Status: Stuck in "Processing for TestFlight Internal Testing"
Workflow Type: iOS App Distribution
Steps to Reproduce:
Triggered Xcode Cloud workflow for iOS app
Build completed successfully
TestFlight Internal Testing processing started
Processing has not completed after 8+ hours
Technical Information:
Xcode Version: Xcode 15.4
iOS App Target Version: iOS16.4
Attempted Troubleshooting:
Verified all certificates and provisioning profiles are valid and up-to-date
Confirmed the build was successful in Xcode Cloud
Checked that the app binary size has not changed significantly
Reviewed all workflow logs for potential errors or warnings
Is there a known issue with TestFlight processing times currently?
Are there any steps we can take to resolve or expedite this process?
Can you investigate if there are any specific issues with our build that might be causing this delay?
Please let me know if you need any additional information to assist with this issue.
App Information:
App Name:Simple Voice Recorder - Audio
Bundle Identifier: id6443528409
Thank you for your assistance in resolving this issue.
Best regards,
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
My Xcode cloud pipeline seems to be stuck at 46% inside the archiving step for some reason. When I run my project locally, it works, and uploading my build manually through Xcode to app store connect works too. However, when I try to build my app using Xcode cloud, it gets stuck after the archiving step has successfully completed. All checkmarks are green, but the archiving step does not terminate after one hour. I tried switching the cloud Xcode version, the cloud macOS version, changing my code. Nothing works and Xcode cloud is completely bricked. How do I fix this? There is no error message at all. The build is just stuck at 46% and nothing happens.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
Developer Tools
App Store
Xcode Cloud
Developer Program