且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Xcode 9:配置配置文件由Xcode管理,但是签名设置需要手动管理的配置文件

更新时间:2022-04-18 22:31:49

感谢大家的帮助.

Xcode 9不接受Xcode生成的Provisioning Profile(名称中带有"XC iOS").因此,解决方案是将Xcode生成的Provisioning Profile克隆到一个具有不同名称的新文件中.

Xcode 9 does not accept Xcode-generated Provisioning Profile (with "XC iOS" in the name). So the solution is to clone the Xcode-generated Provisioning Profile in a new one with a different name.

  1. 请您的团队代理将您设为团队的管理员",以管理配置文件

  1. Ask your Team Agent to make you "Admin" in the team in order to manage provisioning profiles

使用以下命令创建新的配置文件或编辑现有的配置文件:

Create a new Provisioning Profile or Edit an existing one with:

将应用程序ID更改为Xcode中的ID:

Change the App ID to the one from Xcode:

将证书更改为正确的证书(不一定是最新的):

Change the Certificate to the correct one (not necessarily the latest):

点击生成

点击下载

在计算机上双击它

选择它进行签名:

Select it for your signing:

存档

导出时,请检查您的应用程序标识符和钥匙串访问组是否正确:

When exporting, check that your application-identifier and keychain-access-groups are correct: