1.安裝測試包的時候提示APIInternalError
①是否增加了測試設備的UUID
②是否使用adhoc證書打包
2.打包錯誤:error: couldn't remove '/Users/xxx/Library/Developer/Xcode/DerivedData/xxxx/Build/Products/Debug-iphoneos/xxx.app/xxx.bundle' after command failed: Directory not empty
解決辦法:Build Phases->Copy Bundle Resources將對應的xx.bundle 刪除再重新添加
3.上傳提示:You must supply a CFBundleIdentifier for this request.
解決方法:修改info.plist,增加或修改Bundle OS Type code 為APPL
4.上傳提示:ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels, in .png format for iOS versions >= 7.0."
icon圖片格式不夠完整 解決方法:
①使用網址 http://www.atool.org/ios_logo.php,上傳一張1024x1024的icon自動生成一系列尺寸的icon,然后拖放到xcode的icons文件夾下。
②修改info.plist配置對應尺寸的icon
<key>CFBundleIconFile</key>
<string>Icon-57.png</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-29</string>
<string>Icon-40</string>
<string>Icon-50</string>
<string>Icon-57</string>
<string>Icon-58</string>
<string>Icon-72</string>
<string>Icon-76</string>
<string>Icon-80</string>
<string>Icon-87</string>
<string>Icon-100</string>
<string>Icon-114</string>
<string>Icon-120</string>
<string>Icon-144</string>
<string>Icon-152</string>
<string>Icon-180</string>
</array>
<key>CFBundleIconFiles~ipad</key>
<array>
<string>Icon-29</string>
<string>Icon-40</string>
<string>Icon-50</string>
<string>Icon-57</string>
<string>Icon-58</string>
<string>Icon-72</string>
<string>Icon-76</string>
<string>Icon-80</string>
<string>Icon-87</string>
<string>Icon-100</string>
<string>Icon-114</string>
<string>Icon-120</string>
<string>Icon-144</string>
<string>Icon-152</string>
<string>Icon-180</string>
</array>
③配置顯示的圖標
①使用網址http://www.appicon.build/生成配置文件
②進入配置文件夾進行替換