iOS “项目名” has conflicting provisioning settings.

 发布程序的时候,提示 :

  "项目名 "  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.

这是怎么回事呢?

因为我用的是xcode 7.1 beta 版,

这版的build Setting 如图:

而 7.3.1非beta版的build Setting 如下图:

少了 

而且,根据提示,你需要在project 选项下的build Setting里面设置 code Setting

呵呵呵。。。

 

//---------------------2016.09.23---------------------- 

(特别提醒:这种问题大部分是你的证书问题,遇到后请先检查你的发布证书和配置文件,不要像我一样,最后才发现是配置文件失效引起的)

后来我再次遇到了这个问题,重新做了发布证书,发现:

1:如果在 TARGETS 中的general 中 对其取消勾选

然后在非atomic 模式下自己选择文件是可以编译的

2:如果是在atomic 模式下,下边这种状态也是可以编辑的

(关于code signing 等的描述可以参考 https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/Troubleshooting/Troubleshooting.html#//apple_ref/doc/uid/TP40012582-CH5-SW2)

//-------------------2017.06.09-------------------

重拾iOS ,又遇到了这个问题:有点怒了,决定搞个明白

问题:

 

XianYiDian has conflicting provisioning settings. XianYiDian 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'

解决:

以前不知道 项目右侧的 project 和 targers 有什么用,后来发现对APP的预编译有一些影响。

重新生成证书,请注意:在生成打包文件时,选择是发布证书,而不是调试证书。可以在atomic 模式进行预编译,看一下,然后提交。

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

app开发工程师V帅

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值