真机运行 IOS 项目编译运行出错(Showing All Messages XXX has conflicting provisioning settings. XXX is automatic)

Showing All Messages
XXX has conflicting provisioning settings. XXX is automatically signed, but provisioning profile b056915c-de15-45c5-83ea-83e9a1edc09f 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.

1,在项目根目录 找到xx.xcodeproj
2,右键显示包内容
3 ,文档形式打开project.pbxproj
4,全局查找改字符串
“b056915c-de15-45c5-83ea-83e9a1edc09f”
替换为空字符串“”

保存,关闭即可
command+r 项目恢复正常
在真机上顺利运行

你可能感兴趣的:(IOS)