开发者

iPhone build configurations - Entitlements.plist

开发者 https://www.devze.com 2022-12-19 14:17 出处:网络
Is it possible to have two Entitlements.plist files so that the one which the debugger can attach is associated with the debug build configuration whilst the one without would be associate开发者_Pytho

Is it possible to have two Entitlements.plist files so that the one which the debugger can attach is associated with the debug build configuration whilst the one without would be associate开发者_Python百科d with the release configuration?


Sure. In the build settings, you can specify a different Entitlements plist file for specific build configurations. Just set the appropriate one for Debug and a different one for release/distribution etc.

The settings is called "Code Signing Entitlements" or "CODE_SIGN_ENTITLEMENTS" depending on whether you have show names or titles set.

Just specify the name of the Entitlements.plist file you wish to use, eg:

Entitlements-Debug.plist

or

Entitlements-Distribution.plist
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号