Unity 5.6 b9, iOS Cardboard native integration missing GVROverlayView.h file

I tried to compile a clean project for iOS in the latest Unity 5.6 beta (b9) with native Cardboard integration, but the build fails with the next error:

‘GVROverlayView.h’ file not found

There is an #import of this file in CardboardAppController.mm, but the file GVROverlayView.h doesn’t exist in the project.

There is something that I can do to solve this? It seems to me a too obvious mistake to be a bug.

Please file a bug report with a simple repro project and report the case id here.

Case id: 886362

Thank you.

In your XCode project folder, there should be a Pods folder. Underneath that should be a GVRSDK/Base/Sources folder and in there should be the header you are missing. Can you check to make sure that you do have that file in that location?

Something strange here:

Building the Unity project from my mac results in a Xcode project without the GVRSDK directory inside the Pods folder. But from my Windows machine the resulting Xcode project has the GVRSDK directory.

Both machines are using Unity 5.6.0b9.

Dumb question, but you did enable VR mode and add the Cardboard VR device on the Mac?

I get the exact same error. I have VR mode enabled. And I only get this error since I integrated google Firebase into the project. (And had to upgrade the cocoa pod installation)

was a solution found? I got the same issue 5.6.0f3

I noticed that the plugin directory does not contain the required header files. so something tells me that it is the unitypackage of googlevr that is missing something. but its an old issue, and probably has more than 3 users :stuck_out_tongue:

Can you try Build & Run and select “Replace” to recreate your xcode workspace/project?

I am on windows so, build and run is not available for the iOS platform. i am using the iOS builder for windows (but that would never work with missing header files).
and i always delete the bin folder before rebuilding. seems that Ctrl+B says its building but doesnt.

Could it be with the iOS build support module on the windows platform?

ps, I upgraded from 5.6.0f3 to 2017.1.0b6 (May 16) and the issue is the same.

Hello, the problem still there, I use Mac for compile, last version of Unity 2017, Firebase and GVR.
I test a project with GVR (and without Firebase) and it’s working fine, the XCode project it’s correctly generated. But when I add Firebase to the Unity project, the build & run fails at the end of the process (the buid without run doesn’t work). And when I open the project in Unity get the GVROverlayView.h file not found error.

Do you resolved this error?