Setting a provisioning profile from within xcodebuild when making iPhone apps

前端 未结 5 1368
广开言路
广开言路 2021-01-29 18:25

I\'m using xcodebuild to compile my iPhone app from the command line. Is there a way to pass in some sort of option to set the provisioning profile? There seems to

5条回答
  •  死守一世寂寞
    2021-01-29 18:59

    Actually, you should be able to just add it to the XCode command line setting.

    xcodebuild [whatever other options you have] PROVISIONING_PROFILE="[Your profile Unique ID here]"

    Build Settings from the command line are supposed to override everything, so this should win out over anything defined in the project or target.

提交回复
热议问题