真机调试出现问题:
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的博客