Good day, We added an extension to our app, but Azure won't build it since it doesn't support multiple provisioning profiles. In the meantime, in order to properly understand the problem, I've been trying to build the app and extension from the command line. I can get the app to build, but xcodebuild says there's no provisioning profile for the extension's target in the scheme. I looked all over and couldn't find any decent documentation for it.
This is as far as I got:
xcodebuild -sdk iphoneos -configuration Debug -workspace Project.xcworkspace -scheme Project -allowProvisioningUpdates CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY="iPhone Distribution: My Company” PROVISIONING_PROFILE_SPECIFIER=“Provisioning profile name”
I've seen that just adding APP_PROFILE="UUID" and EXTENSION_PROFILE="UUID" to the command line parameters should work, but I get the same result, whether I use APP_PROFILE and EXTENSION_PROFILE or not:
error: Provisioning profile "My Provisioing Profile" has app ID "com.company.project", which does not match the bundle ID "com.company.project.shortcuts". (in target 'ProjectShortcuts' from project 'Project')
So am I doing something wrong? Is there some newer way to do this, because the docs I read are several years old.
Thanks.