关于A valid provisioning profile for this executable was not found

1.关于A valid provisioning profile for this executable was not found  想用真机测试 生产环境 将 Build Configuration 设置为Release。  

2.重新申请描述文件  选择Provisioning Profiles->+ ->Distribution->Ad hoc 证书 一步步走下去 ,选择你要上线的证书,幷包含要测试的手机UDID 

3.安装证书 运行 完美解决在真机上测试生产环境

4. 补充下 网上说的那些重新安装证书的前提是你已经安装了这个AD hoc 描述文件,还有什么要修改Build Configuration   修改为Debug的, 那只是在你本地是开发环境没什么用。



二  关于(null)” is of a model that is not supported by this version of Xcode. Please use a different device


今天测试时候出现 上面的问题  解决办法 重启 xcode。。恩  我重启 在连接就好使了 具体原因深入中


三  Verify the Developer App certificate for your account is trusted on your device  出现这个错误

打开手机设置->通用->设备管理,选择信任这证书就可以了



发布了28 篇原创文章 · 获赞 5 · 访问量 8万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章