My Qt and Qt Creator knowledge is horribly lacking and I'm stuck trying to rebuild our existing application to make it 64-bit for iOS 11.
When building a release version for iOS, I get the following error:
Check dependencies
Code Signing Error: No profiles for 'com.yourcompany.MYTESTAPP' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.yourcompany.MYTESTAPP'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'
I tried to replace com.yourcompany in Info.plist but it appears that file is generated automatically on every build, so changes there are overridden. Is there another way to replace that domain with our domain?
The easiest solution would probably be to do what the error suggests and pass -allowProvisioningUpdates
to xcodebuild, but I can't figure out how... Plus I can't find any helpful articles on the subject.
I did find this SO question but the answers there are way too advanced for a beginner like myself. I tried the following based on the accepted answer, without any effect:
contains(MYDEFINES, iOS) {
QMAKE_CXXFLAGS += -allowProvisioningUpdates
}
EDIT: it's probably important to know that I did enable "Automatically manage signing" Qt Creator's Build Settings. And that I'm on Qt 5.9.1 and Qt Creator 4.4.0.