XCode 6.1.1
Unity 4.6.4
Scaleform 4.225
Debug build works, but Release/Shipping not
Error:
ld: warning: directory not found for option '-L/Users/unitydev/Documents/Prototypes/ScaleformShipping/XCode/Libraries/ScaleformLib/clang/Release_NoRTTI'
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)
Solved! Go to Solution.
XCode 6.1.1
Unity 4.6.4
Scaleform 4.225
Debug build works, but Release/Shipping not
Error:
ld: warning: directory not found for option '-L/Users/unitydev/Documents/Prototypes/ScaleformShipping/XCode/Libraries/ScaleformLib/clang/Release_NoRTTI'
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)
Solved! Go to Solution.
In Xcode , try to remove the -x flag in the build settings > Linking section, it has worked for me with a previous version of unity.
In Xcode , try to remove the -x flag in the build settings > Linking section, it has worked for me with a previous version of unity.
Another solution:
In Unity Project open /Assets/Editor/PostprocessBuildPlayer with Text Editor. Find and remove the -x flag in code.
Another solution:
In Unity Project open /Assets/Editor/PostprocessBuildPlayer with Text Editor. Find and remove the -x flag in code.
Can't find what you're looking for? Ask the community or share your knowledge.