Your build settings specify a provisioning profile with the UUID “”, however, no such provisioning profile was found
明明是存在的文件,就是说不行. 查看一下在~/Library/MobileDevice/Provisioning Profiles下面也是存在的。
尝试1.
找到project文件,用文本打开,删除里面包涵这个文件uuid的行. 保存,重启xcode, 重新选中,还是不行
尝试2
把MobileDevice从~/Library 拷贝到/Library下, 不行
尝试3:
删除~/Library下的对应uuid开头的provisioning profile, 在xcode随便选择别的provisioning profile. 保存退出。
重新打开xcode, 点击finder中的provioning profile, 然后xcode中选中, archieve, 就可以了。
多尝试吧, 其实每次解决办法都可能不同.