上傳檔案送審出現IPA檔不對的問題

今天在#TinyManJump 小改版上傳時,遇到以下錯誤:

先是 “…invalid package Applications built with SDK 9.0 or later must be packaged as proper IPA files…”

然後是 “…The IPA is invalid. It does not include a Payload directory”




用Application Loader 3.x以上應該會遇到這問題,之前都是將 .app壓成.zip,例如:

  • TinyManJump.app
  • 然後右鍵壓成TinyManJump.zip

最後再用Application loader再上傳就行,但今天偏偏不行,最後還是請G神降臨幫忙解決:

  1. 先將App檔轉成IPA檔 (>iTunes >Drag & Drop to iTunes >Go My Apps >Drag & Drop your app to the Payload folder) (注意:我之前直接將.zip改成.ipa是不行的)
  2. 放到Payload資料夾 (…DerivedData/Unity-iPhone/Build/Products/Release-iphoneos/Payload)

然後接下來就跟以前相同

.完

 

Leave a Reply

Your email address will not be published. Required fields are marked *