Xcode clang error
Hi,
I'm trying to build a small VR app to iOS (for Cardboard) with native Unity VR support but the build is failing with a clang error. The relevant bit of log reads:
ld: warning: directory not found for option '-L/Users/Sarah/Library/Developer/Xcode/DerivedData/Unity-iPhone-ckmxxqsqhgguypaofeenfwkyqcfv/Build/Products/Release-iphoneos/GTMSessionFetcher' ld: warning: directory not found for option '-L/Users/Sarah/Library/Developer/Xcode/DerivedData/Unity-iPhone-ckmxxqsqhgguypaofeenfwkyqcfv/Build/Products/Release-iphoneos/GoogleToolboxForMac' ld: library not found for -lGTMSessionFetcher clang: error: linker command failed with exit code 1 (use -v to see invocation)
It's the last GTMSessionFetcher bit that's the problem, but I'm new to Xcode and can't seem to find the solution online. Any suggestions to get past this are much appreciated!
I'm running Xcode 8.3.2 and Unity 5.6.0f3
Thanks.
Answer by getbiks · May 11, 2017 at 08:29 AM
@irny Hi, I have found the solution to the problem. Please follow the steps given in the link below.. https://github.com/googlevr/gvr-unity-sdk Hope this will solve your problem..
Regards
Your answer
![](https://koobas.hobune.stream/wayback/20220612121354im_/https://answers.unity.com/themes/thub/images/avi.jpg)