如果一个项目以前是手动设置的签名证书,当设置为自动模式时,有时就会出现以下的错误:
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是一串字符。
原因是项目配置里,有YYY的相关配置
解决办法:删除即可