美文网首页
"XXX" has conflicting provisioni

"XXX" has conflicting provisioni

作者: _RG | 来源:发表于2019-11-28 10:34 被阅读0次

"xxx" is automatically signed, but code signing identity iPhone Developer: test (G7VM55KCF3) 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 Signing & Capabilities editor

对于网上下载的项目, 由于没有生成对应的provisioning profile文件,在没有勾选Automatically manager signing的情况下无法真机调试,

可以采用 Automatically manager signing进行team设置, 从而进行真机调试, 由于下载的项目一开始就被开发者设置过对应的证书信息,而这些信息被记录在项目的project.pbxproj (选中工程,右键显示包内容)文件里面, 而本地keychain里面没有对应的证书和文件相匹配,因此会报证书冲突

屏幕快照 2019-11-28 上午10.13.09.png

解决方案:
打开project.pbxproj文件, 全局搜索test (G7VM55KCF3) , 一般会在 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" 或者"PROVISIONING_PROFILE"处搜索到,让后删除对应的test (G7VM55KCF3)

如下


屏幕快照 2019-11-28 上午10.23.41.png

删除之后, 进行command+ s进行保存,就可以重新设置对应的team进行真机测试了

An empty identity is not valid when signing a binary for the product type 'Application' 报错

这是对应的Any ios SDK选项没有设置证书类型标识
选择 工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer

相关文章

网友评论

      本文标题:"XXX" has conflicting provisioni

      本文链接:https://www.haomeiwen.com/subject/lgmvwctx.html