Xcodecloud Xcodebuild Failed With Exit Code 70

I'm running on xcode 16, the project archives just fine on the local machine. However, with xcodecloud. It's running into exist code 70 on the following command

xcodebuild -exportArchive -archivePath .....

#output


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

Answered by John-Doe in 808720022

Turns out, I added an share extension with a new bundle id. The new id needs manually registered :|

The xcode cloud error might or may not be related to solving my error code 70. The export and distribute is the way to debug.

I'm also seeing random failures today at the very end of builds, when exporting the archive. Seems like after yesterday's outage, things aren't quite right yet.

@John-Doe Cloud builds and archiving are working for me now, after some random failures this morning. Hope it's cleared up for you.

Accepted Answer

Turns out, I added an share extension with a new bundle id. The new id needs manually registered :|

The xcode cloud error might or may not be related to solving my error code 70. The export and distribute is the way to debug.

I added an share extension with a new bundle id. The new id needs manually registered :|

From Xcode Cloud Release Notes

  • Some bundle IDs aren’t automatically registered when onboarding to Xcode Cloud. Workaround: In Xcode, Archive and Export your app for the App Store or manually register your bundle IDs in Certificates, Identifiers & Profiles.

same question

Export archive for ad-hoc distribution Command exited with non-zero exit-code: 70

Export archive for development distribution Command exited with non-zero exit-code: 70

but app-store distribution successfully Export archive for app-store distribution Command executed successfully

bundle IDs no problem,Did someone fix it?

Xcodecloud Xcodebuild Failed With Exit Code 70
 
 
Q