關於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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章