您的位置:首页 > 移动开发

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

2016-09-20 15:02 525 查看
苹果回复的邮件如下:

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.

Archive your project.

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.

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

Observe that the export fails, shown in Figure 2

Click on "Show Logs...".

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

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

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息