低調の美國生活

各種疑難雜症

Unity遊戲在上架送審前常見問題整理(Xcode)

x628
3月24日2016年

‘每逢更新必出包“,這是千古不變的真理,所以把遇到的狀況整理起來,不定時更新

Screenshot 2016-04-02 23.02.24

…executable is no longer valid

xxx過期通常跟certificate, PP檔(provisioning profile)有關,也有可能是換了不同的機器build,而該機器沒有有效的Certificate

解決:先去開發頁面下載certificate,然後裝到該機器的keychain裡,然後回到開發頁面檢查PP檔是否過期,修正後,下載,安裝到xcode,重新build就可


Could not find … disk image

不小心更新了iOS,但xcode沒有相應的更新版本,此時建議拿其他還未更新iOS的不同設備試試

解決:只能等Xcode有更新


Redundant Binary Upload

unity-submit-app-store-issues-and-solutions

只要把version改一下就好,例如原本為1.1改成1.1.1重新build archive再上傳就好

 


狀況:Build Failed: Command…failed with exit code 1

描述:這個問題會出現在平時build到device的時候,研判有幾個可能:

  • Certificate不正確/過期/遺失(誤刪)
  • 導致Provisioning Profile失效

通常PP(Provisioning Profile)檔失效,xcode可以自動修復,但在這情況下,少了相應的Certificate就無法修復

解決:

  1. 重新建立新的Certificate或重新自apple開發者憑證網頁下載Certificate,並安裝到Keychain
  2. 然後更新PP檔(要指定到對的certificate),並安裝到Xcode
  3. 在Xcode再次下載/更新PP檔: Xcode / Preference / Account / Detail / Download All

Screenshot 2016-03-25 19.29.19

 


狀況:無下按下Always Allowed或Allow按鈕,只能按下deny

描述:這個問題會出現在Product/Build的最後階段。問題出在一個很智障的地方,就是使用外接輸入設備無法按下Always Allow 跟 Allow按鈕

解決:以我情況是wacom。解決方式把拔掉就可以。


狀況:No Matching Provisioning Profile found

描述:在Xcode / Targets / General / Identity 出現

解決:Xcode /Pref / Detail / Download All


狀況:ERROR ITMS-90529: “Invalid package. Applications built with sdk 9.0 or later must be packaged as proper IPA files.”

描述:發生在Xcode /Product /Build後,使用Application Loader上傳壓縮當時會出現




解決:改用Xcode上傳

  • 先建立Archive檔:Xcode / Archive
  • 然後在Organizer上傳:Xcode / Organizer / Validate / Upload

unity-submit-app-store-issues-and-solutions


狀況:Not a valide issuer

描述:發生在Keychain Access建立完憑證
解決:把所有invalid的憑證都刪除, 尤其是在System的

有必要時要下載wwdrca.crl檔,然後import回Keychain: 在有問題的憑證上按右鍵/Get Info,點最下面的URL就可

 

 


發佈於 3月24日2016年

小編推薦