Cordova:意外的机器代码 - 您的上传包含位码和本机机器码 [英] Cordova: Unexpected Machine Code - Your upload contains both bitcode and native machine code

查看:139
本文介绍了Cordova:意外的机器代码 - 您的上传包含位码和本机机器码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个iOS Cordova应用程式。当我上传到iTunes Connect时,它会返回以下错误。


意外的机器码 - 您的上传内容包含位元码和本机机器码。当您提供位码时,不必包括机器码。


我已经更改了上传的大小,以减少上传大小。Xcode 7.3或更高版本或任何其他删除机器码的工具链。相当多的设置在 config.xml 今天,所以我不知道我是否做错了,是一种新的iTunes Connect的东西。 p>

根据我的理解,修改它在Xcode中的一些设置很容易,但我想避免触摸Xcode - 是否有任何方法来修复它使用 config.xml



谢谢



UPDATE



好吧,这似乎是一个苹果问题 - 我能够提交一个这样的警告给TestFlight的构建,实际上通过TestFlight测试,提交到AppStore。它还没有通过苹果审查,但我相信这将是确定,一般情况下,任何真正的问题的二进制文件的构建被立即拒绝。



UPDATE 2



具有此类警告的应用程序(实际上是3个应用程序)实际上已经通过了AppStore审核并开始销售。

解决方案

自己发布答案,因为它似乎是一个相当普遍的问题没有人回答 - 所以问题是在苹果方面。有些人联系了苹果的支持并证实了这一点。没有必要重新编译任何内容。带有这样警告的二进制文件可以提交到AppStore - 它将成功通过审查。我已经用了几个应用程式。



请在这里查看更多详情:意外的机器代码>意外的机器代码。来自iTunes Connect的警告


I'm building an iOS Cordova app. And when I upload it to the iTunes Connect it returns the following error.

Unexpected Machine Code - Your upload contains both bitcode and native machine code. When you provide bitcode, it's not necessary to include machine code as well. To reduce the size of your upload, use Xcode 7.3 or later, or any other toolchain that removes machine code.

I've changed quite a lot of settings in config.xml today so I'm not sure whether I've did something wrong and is it some kind of a new iTunes Connect thing.

As I understand it's quite easy to fix it changing some settings in Xcode, but I would like to avoid touching Xcode — is there any way to fix it using the config.xml?

Thank you

UPDATE

Well, it seems to be an Apple issue — I was able to submit a build with such a warning to the TestFlight, actually test it through the TestFlight and submit it to the AppStore. It hasn't passed the Apple review yet, but I believe it will be ok, as typically, in the case of any real problems with the binary the build is rejected immediately.

UPDATE 2

The app with such a warning (actually 3 apps) has actually passed the AppStore review and went on sale. So I believe the issue can be safely ignored.

解决方案

Posting an answer myself, as it seems to be quite a popular question with nobody answering — so the issue is on the Apple side. Some people contacted Apple support and confirmed this. There is no need to recompile anything. The binary with such a warning can be submitted to the AppStore — it will pass the review successfully. I've already did it with a few apps.

Check more details here: "Unexpected Machine Code" warning from iTunes Connect

这篇关于Cordova:意外的机器代码 - 您的上传包含位码和本机机器码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆