No identities are available for signing的解決方法


今天將做好的app提交到app store,結果就出現標題上的錯誤。“No identities are available for signing”。這個錯誤對於一個iOS開發者來說已經很平常了,這個時候到蘋果開發者網站生成Provisioning Profiles即可。然后把生成的文件下載點擊,重啟xcode即可。可惜當我再次提交Validate的時候,結果還是這個錯誤。看錯誤信息的提示,發現是app的"Bundle Identifier"跟我生成的Provisioning對不上,所以就沒有匹配的identities,這樣把app的bundle identifier刪除掉,換上跟provisioning一樣的即可。再次提交就ok啦。

以后碰到這樣的問題按照下面幾個步驟來做:

  1. go to Certificates, Identifiers & Profiles in the Developer Center
  2. create a new provisioning profile in "Provisioning Profiles" / "Distribution"
  3. download the profile and open it
  4. restart Xcode


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM