如何在使用Qmake构build时selectiOSconfiguration文件命令行
我正在用qmake
命令构buildiOS
QtApp
命令行,如下所示:
qmake MyApp.pro -spec macx-ios-clang CONFIG+=iphoneos CONFIG+=device CONFIG+=$release
但编译成功后出现代码签名错误 :
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'
签署的作品,如果我从Xcode用户界面select所需的configuration文件,但我需要使用Qmake
做这个命令行。
我怎样才能selectconfiguration文件命令行与qmake命令?
PS: 我在Xcode中有多个configuration文件。 这可能是由于这个?