Xcode: Code sign 设置

                                 Code sign 设置

Code sign 设置

(1)Build Settings :Code Signing Identity 中设置App的发布证书
(2)Build Settings :Code Signing Style 设置Automatic
(3)Build Settings :Development Team 设置Team
(4)Build Settings :Provisioning Profile 设置为Automatic

如图:

Xcode: Code sign 设置_第1张图片 标题


证书配置常见错误


1 Capabilities中 打开In-App Purchase功能,提示如下错误
The 'In-App Purchase' feature is only available to users enrolled in Apple Developer Program
或者

“Apple Developer Program” requires a provisioning profile with the In-App Purchase feature 

解决方法:
在General 中 设置 

(1)勾选☑️Automatically manage signing

(2)Team 设置

如图:

Xcode: Code sign 设置_第2张图片 标题

 

你可能感兴趣的:(Xcode工具,ios)