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