问题1、TMS-90426: Invalid Swift Support
解决方案步骤:
1、PROJECT->Build Setting找到如下图的配置项设为YES,把当前打包项目对应的Target->Build Setting找到如下图的配置项设为NO,其实Target的YES和NO估计都不影响,主要是PROJECT设置为YES。
2、使用选择App Store Connect方式导出,不再使用Ad-Hoc方式导出
3、解压ipa包后,查看是否有Swift Support文件夹
问题2、ITMS-90683: Missing Purpose String in Info.plist
问题解释:app(包含三方库)中使用了相关权限的api,但是没有在info.plist中提供相关权限的使用说明
解决步骤:
1、根据邮件中的提示,在info.plist文件中增加相应的key和Purpose String,比如缺少NSContactsUsageDescription,则在info.plist中增加
<key>NSContactsUsageDescription</key>
<string>是否允许app访问通讯录</string>
2、可以在解压后的ipa包中,找到info.plist文件,检查其中是否有相关的权限申请和使用说明文字
问题3、Missing Compliance
问题解释:在出口合规选项上,一般的是应该选否。出口是指从美国出口到其它国家。美国的一些加密算法不充许出口。app store在美国,有出口合规证明才填 true,常用的加密算法不在管制之列。应用在美国的应用商店上线,受美国的法律管辖。
解决步骤:
1、Info.plist中增加一项:ITSAppUsesNonExemptEncryption
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
问题4、ITMS-90048: This bundle is invalid - Your archive contains paths that are not allowed: ( 'entitlements.plist' )
问题解释:字面意思ipa包里不应该有entitlements.plist,(entitlements.plist解释:如果没有Entitlements.plist,您将无法为ad Hoc或Distribution构建应用程序。)
解决步骤:
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
问题5、Guideline 2.3 - Performance - Accurate Metadata
问题描述: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 .
解决方法:
修改键值对设置方式,从<key>UIRequiredDeviceCapabilities</key>
<array>
<string>auto-focus-camera</ string >
</ array >
修改为
<key>UIRequiredDeviceCapabilities</key>
<dict>
<key>auto-focus-camera</key>
<true/>
</dict>
网友评论