真机调试问题:No matching provisioning profile found

来源:互联网 发布:u盘安装mac系统 编辑:程序博客网 时间:2024/06/06 03:30

真机调试出现问题:

1. No matchingprovisioning profile found: Your build settings specify a provisioning profilewith the UUID “XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX”, however, no suchprovisioning profile was found


解决如下:

1).找到项目中的**.xcodeproj文件,右键打开包内容;

2).然后找到project.pbxproj文件,双击打开;

3).再然后(command+f),搜索“PROVISIONING_PROFILE",找到以它开头的都删了

删完以后你就会发现错误提示没了,那么就运行工程,联网情况下Xcode会自己下载并安装provisioning profile文件;那么一切都ok了!!


2. failed to get the task for process XXX



解决如下:

你的证书选错了,应该选开发证书,而你选了其他证书(如:hoc)

把你的code sign 由Distribution 改为 Developer 就好了。


MinJing_Lin的博客

点击打开链接

0 0
原创粉丝点击