尝试归档以提交iOS应用时,我遇到冲突的配置设置错误 [英] I get conflicting provisioning settings error when I try to archive to submit an iOS app
问题描述
现在我正在尝试产品>存档我的iOS应用程序以进行提交.但是,我遇到以下错误:
AppName的配置设置有冲突. AppName将自动签名以进行开发,但是已经手动指定了冲突的代码签名标识iPhone Distribution.在构建设置编辑器中将代码签名标识值设置为
iPhone Developer
,或在项目编辑器中切换为手动签名.SDK'iOS 10.1'中产品类型'Application'需要代码签名.
即使我已经重试了整个过程以重新创建iOS证书或配置文件的情况,情况也不会改变.
我在TARGETS > Code Signing Identity > Release > Any iOS SDK
中设置为iOS Distribution
.当我在此处将设置更改为iOS Developer
,并且在PROJECTS > Code Signing Identity > Release > Any iOS SDK
中将设置更改为iOS Distribution
时,我已经成功进行了归档.我想知道是否有必要在目标编辑器中将其设置为iOS Distribution
.如果是强制性的,请有人让我知道如何解决此错误.
我的XCode版本是8.1.
我也遇到了同样的错误,但是我已经检查了自动管理签名".
解决方案是取消选中它,然后再次检查并重新选择团队.然后Xcode自行修复了导致问题的原因.
Now I'm trying to Product>Archive my iOS app to submit. However, I am getting following errors:
AppName has conflicting provisioning settings. AppName is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to
iPhone Developer
in the build settings editor, or switch to manual signing in the project editor.`Code signing is required for product type 'Application' in SDK 'iOS 10.1'`
The situation won't change even those I've retry a whole process to recreate iOS certificates or provisioning profile.
I was setting as iOS Distribution
in TARGETS > Code Signing Identity > Release > Any iOS SDK
. When I changed the setting as iOS Developer
here, and changed the setting in PROJECTS > Code Signing Identity > Release > Any iOS SDK
as iOS Distribution
, I've succeeded in archiving. I'm wondering is it necessary to set as iOS Distribution
in the target editor or not. And if it's mandatory, please someone let me know how can I work around this error.
My XCode version is 8.1.
I had this same error, but I had already checked "Automatically manage signing".
The solution was to uncheck it, then check it again and reselect the Team. Xcode then fixed whatever was causing the issue on its own.
这篇关于尝试归档以提交iOS应用时,我遇到冲突的配置设置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!