Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Should bitcode be enabled in iOS project? — Gideros Forum

Should bitcode be enabled in iOS project?

XmanXman Member
edited January 2017 in General questions
It's off in the template project, but it seems it can be enabled without any problem,
Is Gideros ready for bitcode enabled?

Comments

  • hgy29hgy29 Maintainer
    IIRC bitcode is enabled only for ATV at the moment in official releases. I enable it for iOS too in my own builds without any problem.
  • @Xman I think a few 3rd party SDKs used to need it disabled. Facebook, if I remember, needed it disabled with some of our older releases using older versions of the Facebook SDK.

    I'm pretty sure I left it enabled the last time we did a release so they must have made it compatible in the newer versions. Sorry, I'm not at the mac to check.

    I'd just say check the docs of any 3rd party SDKs because they sometimes have requirements such as disabling bitcode or adding the -ObjC linker flag etc.
  • I knew, if any third party SDK is not built with bitcode, the project would not be built.
    I just want to confirm whether I can enable it for release. It seems I can do it.
  • Maybe I'm wrong. when archive , it failed.
    ld: bitcode bundle could not be generated because '/Users/yizheng/workspace/Gideros/projects/iOS/popBalloon/popBalloon/libgideros.a(refptr.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64
  • hgy29hgy29 Maintainer
    Yes, as I said official gideros libs are built with bitcode enabled for AppleTV only, not iOS.
Sign In or Register to comment.