Search Issue Tracker

Fixed in 2017.1.X

Votes

3

Found in

5.6.0f3

Issue ID

896270

Regression

No

[iOS | Cardboard] Linker error when GoogleVR package is in the project

VR

-

[iOS | Cardboard] Linker error when GoogleVR package is in the project

1) Download the attached project
2) Open the empty scene 'Scene' and build the project
3) Open the Xcode workspace
4) Attempt to deploy to phone
5) Observe linker error (BUG)
6) Go back to the project
7) Remove the GoogleVR Folder
8) Build the project
9) Deploy to phone
10) Observe that the project is deployed succesfully.

Comments (10)

  1. baylorvrproject

    Feb 23, 2018 19:28

    We built a VR (using GVR components) app in Unity (2017.1.0f3) and are now trying to build it in Xcode (9.2). We have followed all the “methods” from this github article– opened the workspace instead of the project, updated the pods (GVRSDK 1.60) in the project directory, and deleted bogus library paths. We have even tried the bypass option in Method 3, but nothing seems to work. We were able to successfully build this same app using Unity 5.4.2 and publish (to TestFlight) with no problem. Now that we rebuilt the app using this later version of Unity, we can’t seem to be past the “linker command failed with exit code 1” error.

  2. dgoodineyv

    Oct 24, 2017 12:48

    Not fixed in 2017.1.1f1.

  3. silvereyedev

    Sep 30, 2017 02:35

    Any update on this issue?
    I tried this with Xcode 8.4 and GVR 1.70 and Unity 2017.1 but still getting "Linker Error".
    Of course I opened the xcworkspace file in stead of xcproject.

  4. shockreel

    Sep 12, 2017 14:01

    I'm experiencing this issue in both 5.6 and 2017.1. My fix (more of a hack) was to open the Podfile in Visual Studio and change the number to 1.40, then open the .xcworkspace file and then build out. This worked for me in 2017.1 but is untested in 5.6.

  5. guneyozsan

    Jun 06, 2017 14:03

    I couldn't yet get any iOS build without hacking the Xcode project, deleting lines and moving and copying around files since 5.6.0b9 through 2017.1.0b8 and Google VR SDK 1.30 through 1.50. Currently iOS VR suport feels pretty much alpha.

  6. RoofedLizard

    May 08, 2017 15:05

    It is not about Google VR package. If you simply create an empty project and enable Cardboard for iOS Xcode wont build. How Unity publish this Cardboard support for iOS I don't understand.

  7. orlandroid

    Apr 28, 2017 22:04

    Frustrating specially since android just works.

  8. tareksalah

    Apr 18, 2017 18:35

    Please I'm having the same issue too ... I'm using unity 5.5.1f1 with Google VR SDK .. I upgraded xCode to 8.3.1 and I'm having this error also "apple mach-o linker (id) error"

  9. xiesi88

    Apr 15, 2017 09:50

    i'm getting the same problem.i want to know when version 1.40 for GVR unity will be released?Our team is developing cardboard App.

  10. antifuzz

    Apr 10, 2017 09:14

    Getting the same issue. If you simply start with a blank project and check "virtual reality supported", then add the Cardboard sdk in the project settings and build for iOS, you get linker errors. Uncheck VR supported and it will build fine.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.