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

289 Views Asked by At

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

There are 1 best solutions below

8
On

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.