googlevr / gvr-ios-sdk

Google VR SDK for iOS
http://developers.google.com/vr/ios/
Other
647 stars 191 forks source link

Undefined symbols for architecture x86_64 #88

Closed gfadamm closed 8 years ago

gfadamm commented 8 years ago

i got this error when i'm trying to build the project. any solution?

Undefined symbols for architecture x86_64:
 "_OBJC_CLASS_$_GVRPanoramaView", referenced from:
      objc-class-ref in PanoramaViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
dgoodine commented 8 years ago

The SDK doesn't support running against the simulator (which it should). So you can only build a project that includes it for the device.

gfadamm commented 8 years ago

@dgoodine it's working on simulator if i run from the GVR sample code. but when i create new xcode project and added it that's gave me the error message. is there any configuration that i missed?

mboeddeker commented 8 years ago

same Problem!

sanjayc77 commented 8 years ago

Thanks. Added to internal bug tracker.

sanjayc77 commented 8 years ago

Seems to me you are reusing the PanoramaViewController from the sample, but not adding the Cocoapod 'GVRSDK' to your new project. PanoramaViewController is from the sample app, but GVRPanoramaView comes from the Cocoapod.

Re-open if you think thats not the case.