iosxcodegoogle-vr-sdk

git clone does not compile (undefined symbol _clock_gettime_nsec_np) Google VR SDK


I am getting below error after pod update in Google VR Sdk

Undefined symbols for architecture x86_64:

"_clock_gettime_nsec_np", referenced from:

base::GetCurrentTimeNanos() in libGVRSDK.a(get_current_time.o)

ld: symbol(s) not found for architecture x86_64

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


Solution

  • I was using Xcode 7.3, when I switched to Xcode 8 and above version, issue is resolved.