I’ve noticed the same thing, "GatherProvisioningInputs" phase takes a good 20+ seconds of xcodebuild.
Interestingly enough, if I disconnect my mac from the network, this step takes no time at all.
Reading the docs, I assumed that xcodebuild doesn’t do any server communication unless -allowProvisioningUpdates flag is specified.
-allowProvisioningUpdates
Allow xcodebuild to communicate with the Apple Developer website.
For automatically signed targets, xcodebuild will create and update
profiles, app IDs, and certificates. For manually signed targets,
xcodebuild will download missing or updated provisioning profiles.
Requires a developer account to have been added in Xcode's Accounts
preference pane.
Is it an xcodebuild issue or am I missing something?
My invocation is nothing special
xcodebuild build -project {PROJ} -scheme {SCHEME} -derivedDataPath {DERIVED} -destination 'platform=macOS,arch=arm64'
Xcode 15.4, macOS 14.5
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: