Cordova: Unexpected Machine Code - Your upload contains both bitcode and native machine code
<p>I'm building an iOS Cordova app. And when I upload it to the iTunes Connect it returns the following error. </p>

<blockquote>
  <p>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.</p>
</blockquote>

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

<p>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 <code>config.xml</code>?</p>

<p>Thank you</p>

<p><strong>UPDATE</strong></p>

<p>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.</p>

<p><strong>UPDATE 2</strong></p>

<p>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.</p>