is automatically signed, but provisioning profile has been manually specified. Set the provision...

错误提示

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发布,更新了Xcode10,昨天是中秋节,同样的代码,就提示这个错误。

解决方法

1)删除如图所示的 Entitlements。


d1.jpg

2)打开"项目名.xcodeproj"然后右键显示包内容,打开:project.pbxproj 搜索YYYYY这个数字(错误原因的这一串字符),删除之,即可(这个数字在引号中间,不要删除引号及引号外的字符。)

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容