- Home /
error in xcode :object contains invalid bitcode
i cant archive my game through xcode, i keep getting this error
ld: object contains invalid bitcode: libiPhone-lib.a(external_box2d_box2d_collision_shapes.lump.o) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
getting help on this would be greatly appreciated
Are you sure you've selected Enable Bitcode
to NO against build config you're using (eg DEBUG)? You can check it out in project->target->build settings-> search enable bitcode->set NO in DEBUG (good to remember to try to update libs before test release, maybe it'll contain bitcode already).
Hi, yes, already had Bitcode set to no.
Oddly, I can build and test on my connected iPhone, but whenever I go to archive it, I get the same error as @haza246.
its possible some of your other plugin required bit code support.
Your answer
Follow this Question
Related Questions
termination of xcode project due to memory error while running unity game 0 Answers
Xcode error after exporting Vuforia Application 0 Answers
xcode apple mach-o linker errors 1 Answer
ios changes aren't showing when running app 0 Answers
Unity augmented reality based app keep crashing after building it on ios 1 Answer