iOS-上传程序错误:Your build settings specify a provisioning profile with the UUID, no provisioning profile

在Xcode中当你在更新了你得证书而再重新编译你的程序,真机调试会出现“Your build settings specify a provisioning profile with the UUID‘XXX’, however, no such provisioning profile was found.  Xcode can resolve this issue by downloading a new provisioning profile from the Member Center.”。


解决方案如下:

  这里所说的就是要通过修改你的项目的.xcodeproj文件来解决上述的错误。

1.找到项目中的**.xcodeproj文件,点击右键,show package contents(打开包内容)。

2.打开后找到project.pbxproj文件,用文本编辑器打开。其实就是右键,点击open就好了。

3.打开这个文件后,按command+F,在这个文件中查找“PROVISIONING_PROFILE",

       4.保存,重新启动项目,再编译,就OK了。

注意:请先确保证书设置没有问题


你可能感兴趣的:(profile,uuid,provisioning,project.pbxproj,xcodeproj,WatchKitApp)