Google Cardboard API Xcode Error

Hi there. I’m trying to make a VR game for the iPhone with the Google Cardboard/Daydream plugin. I’ve imported everything and put GVRViewerMain in my scene. I’m trying to test it before I make the actual game. When I run it in Unity everything works fine, I can look around with alt+mouse, and there’s stereoscopic vision like there’s supposed to. But when I try to put it on my iPhone, i get some warnings and the error "Apple Mach-O Linker (Id) Error. Linker command failed with exit code 1 (use -v to see invocation). Can anyone help? I’m running unity 5 and the latest version of Xcode. I have looked at other threads with this error, and tried the solutions, but none of them seem to work.

Which version of Unity 5 Are you using?

1 Like

I’m using Unity 5.3.3

Could you please clarify which version of Xcode you are on?

1 Like

Also, could you please post the full linker error, and the version of the GVR Unity SDK you’re using?

1 Like

I’m using Xcode 8.2.1, GVR SDK 1.10.0, and what do you mean by the full linker error? I thought that I did post the full error, but I don’t use Xcode much so maybe there was more.

There should be more that gets printed in the Console display portion of Xcode, assuming you’re running with the phone connected - seeing the full log would help us narrow down the cause.