Search Issue Tracker

Duplicate

Votes

10

Found in

2017.2.0b6

Issue ID

941251

Regression

Yes

[iOS] Building iOS project with disabled stripping fails in Xcode with a bunch of Vuforia linker errors

iOS

-

Steps to reproduce:

1. Open new Unity project
2. Switch to iOS
3. Uncheck 'Strip Engine Code' checkbox
4. Build for iOS
5. Try to build Xcode project to a device
6. Notice the build fails in linking process with the following errors:

Undefined symbols for architecture armv7:
"_nativeUnity_SetVuforiaVRDeviceReady", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetStereoProjectionMatrix", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_DeviceConnectedCheck", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetSingleCullingMatrix", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetFoVRP", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetEyeOffsets", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetDistortionMeshSize", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetDistortionMeshNeedsRefresh", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_DistortionMeshRefreshed", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetEyeTextureSizeRP", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_GetDistortionMeshSeparateRP", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_PrepareRP", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)
"_nativeUnity_CleanupRP", referenced from:
LoadVuforiaPlugin(VuforiaPlugin*, char const*) in libiPhone-lib.a(ApiFuncVuforia.o)

Reproduced with: 2017.2.0b5, 2017.2.0b6

Not reproducible with: 2017.1.0f3

Comments (12)

  1. arthursb

    Aug 17, 2017 15:23

    Got this too with 'Strip Engine Code' checked and unchecked as well. Unable to compile iOS device builds (simulator works fine).

  2. kaznog_zener

    Aug 17, 2017 12:46

    The same error came out in 2017.2.0b7 of mac.

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.