错误提示
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是一串字符。
提示
产生的过程
Xcode10 运行
解决方法
1)删除如图所示的 Entitlements。
删除 Code Signing Entitlements 下 Debug 和 Release 下的内容。
Code Signing Entitlements
2)打开"项目名.xcodeproj"然后右键显示包内容,打开:project.pbxproj 搜索YYYYY这个数字(错误原因的这一串字符),删除之,即可(这个数字在引号中间,不要删除引号及引号外的字符。)
打开pbxproj文件
搜索YYYY字符串