Unity 4.6.1 Unable to Build Distribution or Release

After upgrading to 4.6.1 I was happy to see the splash screen coming up correctly. However, now I am unable to build for Release or Distribution in Xcode without a strange linker error, which doesn’t seem to get any hits on Google.

ld: internal error: atom not found in symbolIndex(__ZNSt6vectorIjN3Alg13UserAllocatorIjEEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPjS3_EERKj) for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Things work just fine when building for Debug in Xcode.

I get the same thing. Anyone got a solution for this?

I found a work around, it’s a work around because i don’t fully understand what this does:

In your xCode project go to Build Settings → Linker and remove ‘-x’ from the ‘Other linker flags’ variable under release.

Please submit a bugreport with your Xcode project attached to it.
Thanks!

I’m having that same issue and it solve by removing -x from linker but any idea why it’s happening and what was the purpose of -x in there? I just don’t want to remove it blindly. Also is there any tempting date for fix?

Thanks

you seriously saved me on this one, hit a deadline thanks to removing “-x” from the linker flags… I’ll be looking into what implications this has next week, I’ll let you know what we find