xcode project build successfully but when archiving: bitcode bundle could

20,384

Solution 1

AdmobPlugin.a does not support bitcode try updating that library if its still showing this error you can disable bitcode from your Xcode project goto target setting -> Enable bitcode = NO.

Solution 2

Just got this error message. Went to Target -> Settings -> Enable Bitcode = NO Works perfectly, No issues.

Solution 3

On Build Settings -> Other C flags, set Debug to -fembed-bitcode-marker, and Release to -fembed-bitcode. Make sure that is set for your project, and not the targets. More details check here.

Share:
20,384

Related videos on Youtube

mirzahat
Author by

mirzahat

Killa Programaaaa

Updated on June 20, 2020

Comments

  • mirzahat
    mirzahat almost 4 years

    My XCode project was generated by Unity so I was able to build the project without errors.

    But when I try to archive it for ad hoc, I get this:

    ld: bitcode bundle could not be generated because '/Users/myuser/Desktop/device3/Libraries/Plugins/iOS/AdmobPlugin.a(UnityEncoder.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

    What is needed in this case?

  • mirzahat
    mirzahat about 8 years
    Will this negatively affect the other code? Maybe there are libraries that use bitcode?
  • Vinoth Vino
    Vinoth Vino over 5 years
    It failed when I am trying to export the app from archive for generating ipa file.
  • Adam B
    Adam B over 2 years
    I'm not sure I'm seeing the distinction between project and targets. Could you please elaborate?