ios 真机运行失败,模拟器和打包是可以运行的
2018-09-28 本文已影响0人
神一样的队友
项目打完包后就关闭了,长时间没有打开,再次打开的时候,出现
xxx is automatically signed,but provisioning profile 2094882f-4fd2-471f-a3e6-a6d64fc926f1 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.
的错误。
意思是 x x x x x会自动签名,但是配置配置文件2094882f-4fd2-471f-a3e6-a6d64fc926f1已经手动指定。在构建设置编辑器中将配置配置文件值设置为“自动”,或者在项目编辑器中切换到手动签名。
这已经不是第一次出现了,之前出现因为找了很长时间没找到原因,只能重新建个项目,将控制器拖到新项目中。
第二次出现同样的错误,说什么也要解决掉,网上没有关于这个的错误,只能自己想办法。
在项目的

中搜索 2094882f-4fd2-471f-a3e6-a6d64fc926f1 会发现这个东西和其他项目是不一样,在最下面

这个分类下会多出 2094882f-4fd2-471f-a3e6-a6d64fc926f1 ,将这一行改成

就可以了