Posts

Post not yet marked as solved
1 Replies
222 Views
I'm trying to use automatic provisoning in our build pipeline using the following command: xcodebuild -project myproj.xcodeproj -scheme myscheme -configuration release -scmProvider system -allowProvisioningUpdates -verbose clean archive -authenticationKeyPath mykeyPath authenticationKeyID myKeyID -authenticationKeyIssuerID myIssuerID The clean succeeds, but the archive fails with the following error message : ▸ note: Build preparation complete ▸ note: Building targets in dependency order ▸ error: Could not connect to the server. (in target 'myscheme' from project 'myproj') ▸ error: No profiles for 'appid' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'appid'. (in target 'myscheme' from project 'myproj') ▸ ** ARCHIVE FAILED ** On some runs of the pipeline, instead of "could not connect to server" I get the following issue: ▸ error: The request timed out. (in target 'myScheme' from project 'myproj') The pipeline runs on a dedicated build server which can only connect to the internet using a proxy. The proxy is configured in the system settings and I've already tried the workaround from this thread: https://developer.apple.com/forums/thread/666368
Posted Last updated
.