XXX is automatically signed, but provisioning profile YYY has been manually specified. Set the pr...

错误分析

crash.png

Xcode10以上的证书错误:
XXX is automatically signed, but provisioning profile YYY 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.
其中XXX是项目名称,YYY是一串字符。

可以通过如下方式解决:

  • 打开"项目名.xcodeproj"然后右键显示包内容,打开:project.pbxproj 搜索YYYYYYYYYYYYYYYYYY这个数字(错误原因的这一串字符,比如上图显示的底线蓝色部分),删除之,即可(这个数字在引号中间,不要删除引号及引号外的字符。)

  • 删除如图所示的 Entitlements。


    XXX is automatically signed, but provisioning profile YYY has been manually specified. Set the pr..._第1张图片
    fix2.png

你可能感兴趣的:(XXX is automatically signed, but provisioning profile YYY has been manually specified. Set the pr...)