关于ipa文件上传到iTunes Connect后构建版本错误的问题

苹果回复的邮件如下:


Dear ****************** Co., Ltd.,

While processing your iOS app, **** 2.0(13), errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store. For information that may help resolve this issue, see Tech Note 2432

Regards,

The App Store team




可以根据苹果给出的建议自行诊断,诊断步骤如下:

Diagnosis

Diagnosing Bitcode and App Thinning Issues

If bitcode compilation or app thinning failed on the App Store, you can duplicate this failure with the following process. When recompiling from bitcode, the build log will not be visible in Xcode's Report Navigator, but Xcode will give you the option of viewing the logs in case of failure.

  1. Archive your project.

  2. Follow the steps in the App Distribution Guide under the heading Exporting Your App for Testing Outside the Store, up to and including Step 6.

  3. Make sure you check "Rebuild from bitcode" in Step 6, as shown in Figure 1.

  4. Observe that the export fails, shown in Figure 2

  5. Click on "Show Logs...".

  6. A Finder window opens (Figure 3). Double click on the "IDEDistribution.standard.log" file to open it in the Console app.

  7. Find the error in the Console app. The example in Figure 4 shows an "Undefined symbols" error.

  8. In the Known Issues and Workarounds section, use this error message, and your knowledge of your project to find the correct cause and workaround.


    Figure 1
      Export with 'Rebuild from bitcode' checked.
Figure 2  Rebuild from bitcode failure. Figure 3  Export logs with the log containing the build messages selected. Figure 4  The build failure log.
在日志文件中找出错误的地方,进行修改。此次进行rebuild的错误为:


Info.plist of \U201c****.app/****.bundle/Contents/Resources\U201d specifies a non-existent file for the CFBundleExecutable key";
            info =             {
            };
            level = ERROR;
            type = "malformed-payload";
        }
    );
}


意思为可执行文件不存在,我的做法是直接删掉CFBundleExecutable 这个key。再次上传后就可以通过了!目前正在审核。



Dear Wangli Security Products Co., Ltd.,

While processing your iOS app, 王力智能 2.0(13), errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store. For information that may help resolve this issue, see Tech Note 2432

Regards,

The App Store team

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值