Search Issue Tracker

By Design

Votes

10

Found in

5.6.0f3

Issue ID

900925

Regression

Yes

[iOS][Cardboard] Xcode throws linker error when VR SDK is set to Cardboard

iOS

-

Steps to reproduce:
1. Create a New project
2. Switch Target platform to iOS
3. Player Settings > Mobile Tab > Other Settings> Virtual Reality Supported = true, Add VR SDKs: Cardboard
4. Build the project
5. Build to iOS device via Xcode

Result: Build failed. A linker error in Xcode appeared: clang: error: linker command failed with exit code 1 (use -v to see invocation).

Reproduced with: 5.6.0p1, 2017.1.0b1.
Not reproduced with: 5.5.3f1.

Tested with: iPhone 6S iOS10.3, Xcode 8.3 beta 4

Note:
this page should be updated as well: https://developers.google.com/vr/unity/get-started-ios . It says that 5.6 beta is not supported however 5.6 is not in the beta anymore.

RESOLUTION:
BY DESIGN: The main issue is that the user opens the xcode project instead of workspace. If the .xcworkspace project is opened, everything works.

Comments (11)

  1. fagtr0n

    Apr 12, 2017 23:52

    5.6 has broken all my google vr apps for iOS. I've had to revert back to 5.5.3 - I also have an issue where lighting in each eye is rendered differently. : (

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.