参考:

​https://www.jianshu.com/p/ebe95e2c4b05​

 



项目中的单元测试报错如下:

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.



错误描述:

虽然勾选了自动管理证书和描述文件,但实际上描述文件被指定为b9c32186-a5ad-43dd-a910-1c639b1ad5c3,导致冲突

 

解决办法:

右击项目xxx.xcodeproj-->show package content--->打开项目的project.pbxproj文件,全局搜索b9c32186-a5ad-43dd-a910-1c639b1ad5c3,把指定行删除然后保存即可。