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?
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.
Just got this error message. Went to Target -> Settings -> Enable Bitcode = NO Works perfectly, No issues.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With