真机调试出现问题:
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的博客
本文针对Xcode开发中常见的真机调试问题提供了详细的解决方案,包括Nomatchingprovisioningprofilefound错误和failed to get the task for process问题的具体解决步骤。
1万+

被折叠的 条评论
为什么被折叠?



