折腾:
[已解决]JPUSHClientController Not get deviceToken yet
期间,继续测试生产环境的JPUSH消息推送
archive打包结果出错:
Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “b6aa4f4d-5155-4a3e-9946-a144d31d529f”, however, no such provisioning profile was found.
搜:
provisioning profile adhoc distribution archive Failed to code sign
xcode archive Failed to code sign
xcode archive Code Sign error No matching provisioning profile found
iphone – Stuck with "Command /usr/bin/codesign failed with exit code 1 " Error – Stack Overflow
ios – Xcode 7: "No matching provisioning profiles found" – Stack Overflow
重新制作出一个adhoc的provision profile试试
此处,确定这个AdHoc的provisioning profile是正常的:
Red Green Refactor — Developer Diaries: fixing provisioning and code…
把Xcode中的原先的AdHoc的provisioning profile删除掉move to trash
重新点击Download下载
然后重新选择新下载的AdHoc的provisioning profile
Xcode,把项目Clean后,重新再去打包,多试试几次
最后结果就打包成功了:
[后记]
打包过程中
此时,想到了:
之前一直提示的:
Your build settings specify a provisioning profile with the UUID “b6aa4f4d-5155-4a3e-9946-a144d31d529f”, however, no such provisioning profile was found.
就是此处的AdHoc的provisioning profile
==mobileprovision文件:
b6aa4f4d-5155-4a3e-9946-a144d31d529f.mobileprovision
的uuid:
b6aa4f4d-5155-4a3e-9946-a144d31d529f
-》
所以此处错误:
的真实含义其实就只是:
找不到你所制定的那个AdHoc的Provisioning Profile而已
-》所以想办法去找到
-》此处就是Xcode中删除掉之前(可能没有及时同步的),然后再重新下载即可。
-》再去Archive打包,即可正常了,就可以找到这个AdHoc的Provisioning Profile了
-》如果还是提示找不到,那么记得:重启Xcode,看看是否解决问题。
转载请注明:在路上 » [已解决]Your build settings specify a provisioning profile with the UUID