問(wèn)題1、TMS-90426: Invalid Swift Support
解決方案步驟:?
????1、PROJECT->Build Setting找到如下圖的配置項(xiàng)設(shè)為YES,把當(dāng)前打包項(xiàng)目對(duì)應(yīng)的Target->Build Setting找到如下圖的配置項(xiàng)設(shè)為NO,其實(shí)Target的YES和NO估計(jì)都不影響,主要是PROJECT設(shè)置為YES。
????2、使用選擇App Store Connect方式導(dǎo)出,不再使用Ad-Hoc方式導(dǎo)出
? ? 3、解壓ipa包后,查看是否有Swift Support文件夾
問(wèn)題2、ITMS-90683: Missing Purpose String in Info.plist
問(wèn)題解釋:app(包含三方庫(kù))中使用了相關(guān)權(quán)限的api,但是沒(méi)有在info.plist中提供相關(guān)權(quán)限的使用說(shuō)明
? ?解決步驟:
? ? 1、根據(jù)郵件中的提示,在info.plist文件中增加相應(yīng)的key和Purpose String,比如缺少NSContactsUsageDescription,則在info.plist中增加
<key>NSContactsUsageDescription</key>
<string>是否允許app訪問(wèn)通訊錄</string>
? ? 2、可以在解壓后的ipa包中,找到info.plist文件,檢查其中是否有相關(guān)的權(quán)限申請(qǐng)和使用說(shuō)明文字
問(wèn)題3、Missing Compliance
問(wèn)題解釋:在出口合規(guī)選項(xiàng)上,一般的是應(yīng)該選否。出口是指從美國(guó)出口到其它國(guó)家。美國(guó)的一些加密算法不充許出口。app store在美國(guó),有出口合規(guī)證明才填 true,常用的加密算法不在管制之列。應(yīng)用在美國(guó)的應(yīng)用商店上線,受美國(guó)的法律管轄。
解決步驟:
? ? 1、Info.plist中增加一項(xiàng):ITSAppUsesNonExemptEncryption
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
問(wèn)題4、ITMS-90048: This bundle is invalid - Your archive contains paths that are not allowed: ( 'entitlements.plist' )
問(wèn)題解釋:字面意思ipa包里不應(yīng)該有entitlements.plist,(entitlements.plist解釋:如果沒(méi)有Entitlements.plist,您將無(wú)法為ad Hoc或Distribution構(gòu)建應(yīng)用程序。)
解決步驟:
Here is a workaround, which SHOULD work:
1. Extract the ipa into a directory. Assuming your app is named as MyApp.ipa $ mkdir extract $ unzip -qo MyApp.ipa -d extract
2. You will notice the entitlements.plist at root of extract directory. $ cd extract $ ls BCSymbolMaps Payload SwiftSupport Symbols entitlements.plist
3. Delete the entitlements.plist and repackage your ipa $ rm entitlements.plist $ zip -qry ../MyApp.Fixed.ipa
After this, try submitting the MyApp.Fixed.ipa
問(wèn)題5、Guideline 2.3 - Performance - Accurate Metadata
問(wèn)題描述:We were unable to install the app on iPhone. The UIRequiredDeviceCapabilities key in the Info.plist is set in such a way that the app will not install on iPhone .
解決方法:
修改鍵值對(duì)設(shè)置方式,從<key>UIRequiredDeviceCapabilities</key>
<array>
<string>auto-focus-camera</ string >
</ array >
修改為
<key>UIRequiredDeviceCapabilities</key>
<dict>
<key>auto-focus-camera</key>
<true/>
</dict>