Jan ATAC
Jan ATAC

Reputation: 1262

Invalid Bundle while submitting swift app + framework

My app is in swift and depends on a private framework (dynamic not static) in swift+obj-C (includes Parse libs) which manages call to Parse.com APIs.

I followed this tuto to build my app in a workspace.

Code is running fine on my iPhone.

Archiving is fine (if I uncheck 'Include app symbols' or it fails like here) but I received a mail from iTunes Connect with this message :

Invalid Bundle - This app includes files that were built with bitcode enabled but without doing an Archive or Install build, possibly from a library or framework that was imported but not built as part of the project. Full bitcode content is only generated in an Archive or Install build.

Once these issues have been corrected, you can then redeliver the corrected binary.

It's been three times I checked and rechecked my build settings and I can't find what I missed.

My conf :

Upvotes: 2

Views: 326

Answers (1)

slxl
slxl

Reputation: 689

Try to disable Bitcode support

Project > Build Settings > All > Build Options > Enable Bitcode = NO

Maybe your library was compiled without Bitcode, but the setting above is enabled in your project by default in Xcode7

Upvotes: 2

Related Questions