I get this error every time I try to build my project in Xcode 7.1 with Unity 5.1.4+ versions:
Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64_PONDEROSA/ld64-253.6/src/ld/parsers/archive_file.cpp, line 355. clang: error: linker command failed with exit code 1 (use -v to see invocation)
If I build the Unity project on Unity 5.1.3 it builds fine on Xcode, but any version higher than that I get the above error.
I have tried to clear the cache as someone suggested in a forum post, but the error still happens.
I have since tried it in a friend’s Mac, and the xcode project builds fine. So the problem is in my xcode/Mac. I know this isn’t really the right forum to ask this, but does anyone know what could cause this error while building in xcode?
This only happens in my Mac AND with projects done with Unity 5.1.4 and later versions. And it happens with every project, even with a mostly empty test project…
If I use Unity 5.1.3 I can build the Xcode project just fine.
I’m really lost here… I’m used to Windows so my experience with Mac and Xcode is very limited.