问题
I am building my QtApp
command line for iOS
with qmake
command like so:
qmake MyApp.pro -spec macx-ios-clang CONFIG+=iphoneos CONFIG+=device CONFIG+=$release
But I am getting a code signing error after compilation succeeds:
MyApp requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.3'
The signing works if I choose the required provisioning profile from Xcode UI but I need to do this command line using Qmake
.
How can I choose a provisioning profile command line with qmake command ?
PS: I have multiple provisioning profiles in Xcode. This is possibly happening due to this?
来源:https://stackoverflow.com/questions/45039025/how-to-choose-an-ios-provisioning-profile-command-line-while-using-qmake-to-buil