I'm trying to upload my app build with Xcode Cloud. It builds and runs fine on the simulator, but when I try to upload to the cloud it keeps failing from Ad-hoc and Developer Distr. (Error code 70)
I have tried/verified:
-Verifying that my workflow archive in Xcode is set to "App Store Connect" (setting it to internal Test flight did not work either)
-TestFlight Internal is set as a Post-Action and I created/added a test group
-All App Store agreements signed and active
-Revoking out-of-date developer certificates (Development Managed)
-Running build from command line (using git pull origin main, git push origin main)
Excerpts of the Error Output (ip addresses censored)
Export archive for ad-hoc distribution
15.9s
Run command: 'xcodebuild -exportArchive -archivePath /Volumes/workspace/tmp/3fe6638a-94b8-4944-8406-0e291469f933.xcarchive -exportPath /Volumes/workspace/adhocexport -exportOptionsPlist /Volumes/workspace/ci/ad-hoc-exportoptions.plist '-DVTPortalRequest.Endpoint=http://172.16.XX.XX:XXXX' -DVTProvisioningIsManaged=YES -IDEDistributionLogDirectory=/Volumes/workspace/tmp/ad-hoc-export-archive-logs -DVTSkipCertificateValidityCheck=YES -DVTServicesLogLevel=3'
Error
Command exited with non-zero exit-code: 70
Another similar error exists for development distribution
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