xcode解决xxx has conflicting provisioning settings.

xcode连真机测试报错:

xxx has conflicting provisioning settings.xxx is automatically signed, but provisioning profile b9c32186-a5ad-43dd-a910-1c639b1ad5c3 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor.
Code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 11.2'

根据报错信息在build setting中 查看sign配置,发现也是都配置好automatically了,但是还是报这个错,虽然勾选了自动管理证书和描述文件,但实际上描述文件被指定为b9c32186-a5ad-43dd-a910-1c639b1ad5c3,导致冲突。
Code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 11.2'这个应该是因为第一个错误产生的,可以不管,把第一个错误fix即可。
解决办法:
打开项目的project.pbxproj文件,全局搜索b9c32186-a5ad-43dd-a910-1c639b1ad5c3,把指定行删除然后保存即可。ps:project.pbxproj这个怎么找呢?在finder中找到项目文件xx.xcodeproj,右击显示包内容,就找到project.pbxproj

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值