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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
RGUnity
Sep 05, 2017 23:26
same issue in ios, but I get it when unchecking vuforia ar in build settings. It will run and compile as AR with the viewforia ar box checked, but I can't remove it without the above error.
It runs fine in unity editor, but gets the same error messages as above with xcode. Pod update to:
Installing GVRSDK 1.80.0 (was 1.60.0)
Using GoogleToolboxForMac (2.1.0)
leandropim
Sep 04, 2017 07:52
2017.2.0b9 (iOS) same error
hernanb
Sep 02, 2017 03:18
The same error came out in 2017.2.0b9 on IOS
Strip Engine Code not checked
laroccathebrux
Aug 31, 2017 02:32
In my case, Strip Engine Code is checked.
laroccathebrux
Aug 31, 2017 02:29
Also in 2017.2.0b9 on mac. Xcode 8.3.3.
QubixGames
Aug 30, 2017 15:47
same on 2017.2.0b9 on mac
Cezarovsky
Aug 28, 2017 13:44
The same error for 2017.2.0b8 on mac.
MrMatthias
Aug 26, 2017 20:29
Disabling 'Strip Engine Code' crashes Xcode with b8
RKSW
Aug 25, 2017 22:54
Same error in 2017.2.0b8 for nearly completed project that had previously compiled under 5.6.1f1.
AquaGhost
Aug 25, 2017 18:59
Also in b8.