您的位置:首页 > 产品设计 > UI/UE

在真机运行报错:The provisioning profile specified in your build settings...

2015-06-01 09:56 519 查看
错误提醒:The provisioning profile specified in your build settings (“haotian”) has an AppID of “com.basecom.vipose” which does not match your bundle identifier “com.baseus.iTemperature”.  Xcode can resolve this issue by downloading a new provisioning profile from
the Member Center.

原因:是我在xxx-info.plist中Bundle display name 的值(用来改变APP在左边显示的名字),修改后再在真机运行就报这个错误!

解决办法:

参考地址:http://stackoverflow.com/questions/1760518/codesign-error-provisioning-profile-cannot-be-found-after-deleting-expired-prof

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

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

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

3.打开这个文件后,按command+F,在这个文件中查找“ PROVISIONING_PROFILE",找到和这个“
”(换成我们自己的),全部删除即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: