加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-15 01:52:20 所属栏目:百科 来源:网络整理
导读:我需要存档我的应??用程序以提交到iTunes Connect。 Xcode 8.3.3就可以了: 使用Xcode 9.0不行: 存档时,我得到: Code Signing Error: Provisioning profile “XC iOS: *” is Xcode managed,but signing settings require a manually managed profile. Co
我需要存档我的应??用程序以提交到iTunes Connect。

Xcode 8.3.3就可以了:

enter image description here

使用Xcode 9.0不行:

enter image description here

存档时,我得到:

Code Signing Error: Provisioning profile “XC iOS: *” is Xcode managed,but signing settings require a manually managed profile.
Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.0’

这两个屏幕截图来自同一台计算机,相同的工作区。

enter image description here

我不能使用“自动”,因为它会将配置文件更改为其他配置文件,然后在上传到iTunes Connect后我会得到:

Potential Loss of Keychain Access – The previous version of software has an application-identifier value of [‘YBDK7H6MLG.com.ef.english24-7’] and the new version of software being submitted has an application-identifier of [‘GEEM4BQ58H.com.ef.english24-7’]. This will result in a loss of keychain access.

如何在不丢失钥匙串访问权限的情况下制作针对iOS 11的版本?

解决方法

感谢所有人的帮助。

Xcode 9不接受Xcode生成的Provisioning Profile(名称中带有“XC iOS”)。因此,解决方案是将Xcode生成的供应配置文件克隆到具有不同名称的新配置文件中。

>让团队代理在团队中成为“管理员”,以便管理配置文件
>创建新的配置文件或编辑现有配置文件:

Edit Provisioning Profile


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

enter image description here


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

enter image description here


>单击“生成”
>单击“下载”
>在计算机上双击它
>选择它进行签名:

enter image description here


>档案
>导出时,检查您的应用程序标识符和密钥链访问组是否正确:

enter image description here

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读