How can enforce `qmake` to contain `ProvisioningStyle` $ `DevelopmentTeam` fields in `project.pbxproj`?

三世轮回 提交于 2019-12-12 03:53:46

问题


I am using Qmake command line to build my app for iOS and I am struggling to sign my app with xcodebuild because the MyApp.xcodeproj/project.pbxproj that qmake is generating does not the contain the following fields at all

ProvisioningStyle
DevelopmentTeam

How can enforce qmake to contain ProvisioningStyle $ DevelopmentTeam fields in project.pbxproj?

I dont need to have any certain value to be set into the 2 fields. Only, need the fields to be present in appropriate places in project.pbxproj. Opening & MyApp.xcodeproj in Xcode UI IDE & just checking-unchecking the Automatically manage signing option under Project>General settings adds the fields into project.pbxproj. How can I get qmake to add them for me?


回答1:


As you know, I answered the DevelopmentTeam detail on this SO thread: Qt for iOS: code signing is required

You commented that you tried the same pattern for PROVISISIONING_STYLE but did you try ProvisioningStyle? I'm just a bit unclear what you did and what the results were.



来源:https://stackoverflow.com/questions/45091222/how-can-enforce-qmake-to-contain-provisioningstyle-developmentteam-field

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!