1

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)

Harshal Valanda
  • 5,331
  • 26
  • 63
Sayali Shinde
  • 311
  • 2
  • 6

2 Answers2

0

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

Sayali Shinde
  • 311
  • 2
  • 6
0

The problem is that the GVR-iOS-SDK GitHub repo doesn't contain the libGVRSDK.a. You shouldn't use this repo - just use CocoaPods and it will work just fine!

Alexander Telegin
  • 665
  • 1
  • 7
  • 22