My team's app has several dependencies on Swift Packages via Swift Package Manager, and uses manual specification of the provisioning profile when built on CI via xcodebuild.
This has worked fine for many versions of Xcode through 13.2.1, but with Xcode 13.3 Beta 2 we get an error for each package like this:
error: [package name] does not support provisioning profiles. [package name] does not support provisioning profiles, but provisioning profile [profile name] has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target '[target name]' from project '[project name]')
(The bracketed parts are different for each package.)
Our xcodebuild command looks like this:
/usr/bin/xcodebuild -sdk iphoneos -configuration Release -workspace [path to workspace] -scheme [scheme name] clean build archive CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=[redacted] PROVISIONING_PROFILE=[redacted] PROVISIONING_PROFILE_SPECIFIER=
(Yes, there is nothing following the last =
.)
Web search results for that error message are almost always from a few years ago and have to do with CocoaPods, with the fix being in the Podfile. We're not using CocoaPods but rather Xcode's Swift Package Manager integration.
We need Xcode 13.3 because it fixes a crash on iOS < 13 when back-deploying async/await code.
Anyone else seeing this? Thank you.