Skip to main content
Inspiring
February 15, 2016
Question

How to disable bitcode when compiling for iOS?

  • February 15, 2016
  • 3 replies
  • 6451 views

Roshan Chhetri

Hi Adobe Air Support, I know apple is forcing the bitcode thing in xcode 7+but there are still hundreds of third-party iOS libraries/Frameworks which have not yet updated their frameworks to support bitcode.

This link shows where in xcode the bitcode thing can be disabled: Bitcode is now mandatory in iOS 9 Beta 3? | Apple Developer Forums

when using xcode, we have the option to disable bitcode for our xcode project so the iOS compiler won't nag about the framework not supporting bitcode. But unfortunately we don't have any setting in Adobe Air SDK to disable it. Considering that Air SDK 20 is using the latest versions of iOS SDK, the bitcode is enabled by default and that makes the problem because we, as an ANE developer won't be able to develop or update our ANEs with newer Air SDK versions because we have to wait for the third-party framework developers to update their framework first! and this is all time consuming and a confusing process!

In brief, that would have been great if the adt command line could have a new option like enableBitcode NO or something like that. It will be a super easy add on to Air SDK and I hope you can see the importance of this feature.

Thanks a lot,

myflashlabs Team (@myflashlab) | Twitter

This topic has been closed for replies.

3 replies

SirRookie
Inspiring
September 12, 2016

I have two apps. they have the same framework just differnt content.

the first one SM.ipa i can upload

the second KP.ipa im getting the thinning error.

The problem must be in the IPA file. But i have no clue thus both ipas use the same framework and classes and graphics.

is it possible that i can share both IPAS so you can have a look at it ?

there are no swc and no ANES in both projects

regards

Michael

Inspiring
September 8, 2016

Same problem here. I can't upload my ipa file to Itunes Connect. Here's the mail from Apple when uploading my AIR APPS:

While processing your iOS app, Marées-NC 3.9.0(3.9.0), 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.

Any progress on this error ?

SirRookie
Inspiring
September 11, 2016

I have the same issue. Even if i disable bitcode new comilation in itunes the error occures.

Adobe Employee
February 15, 2016

Hi emstris‌,

Thanks for raising this issue.

It will be great if you can provide a sample ANE to demonstrate the problem you are facing. Our Engineering team will look into this.

-Roshan

emstrisAuthor
Inspiring
February 16, 2016

Thanks Roshan Chhetri

I can send you the ANE but it's a work in progress and nature of it is classified. That would be great if you can show me a private way to send you the ANE directly.

Adobe Employee
February 16, 2016

I have sent you my mail id.