Closed ashleydb closed 9 years ago
Did you follow step 4 on your Unity generated Xcode project? Make sure all the CardboardSDK .m
and .mm
sources files are part of your project target in Xcode.
Yes sir. Here are screenshots of steps 4, 5 & 6.
FWIW, I only see the Target Membership setting on the CardboardSDK folder, not each file under it.
Ah, I figured it out. Needed to select Group instead of Folder Reference in step 4. Thanks for the pointer.
Great! Cheers.
If you happen to do any improvements on the Unity side, please feel free to contribute them back. Noticeably: we are missing magnetic trigger support from Unity right now. I think it shouldn't be too difficult to implement.
I had to replace all occurrences of ".x" ".y" and ".z" with ".v[0]" ".v[1]" and ".v[2]" respectively. It seems that the GLVector3 that was begin used, only generated the v array and not the xyz, rgb and others.
Hi, I'm trying to build this with Unity 5.0.1f1 and Xcode 6.3 for iPhone 5S on iOS 8.3. I followed your steps for setting up the project. Version A wouldn't work, (the Append option was greyed out,) so I went with option B and built to a new folder and added the resources you mention. However, I get a build error I can't resolve:
I see
_unity_getFrameParameters
in CardboardUnity.cpp, so I'm not sure what the issue is. Any hints? Thanks Ash