"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Error building for iOS - Mach-O Linker (Id) Error

I'm trying to build a fresh Vuforia app to an iOS device from Unity but am getting a bunch of "Apple Mach-O Linker (Id)" build errors in Xcode. Opening up the log, the errors are for "Undefined symbols for architecture arm64", with 200+ errors for various references in Vuforia scripts.

Am I missing something in my setup to make iOS builds from Unity? I'm running the latest versions of Unity (2017.1) and Vuforia (6.2.10).

Hello jlink5,

Could you try this with Unity 5.6 instead? Unity 2017.1 is not an officially support version of Vuforia 6.2.10.

Thanks,

-Vuforia Support

I tried solutions from that thread (3 years old), but they didn't fix the Linker errors. This should be a pretty easy issue to reproduce since I'm building from all latest versions on latest macOS (Sierra 10.12) with a clean project.

With a fresh version of the sample project in Unity 5.6 with Vuforia 6.2.10 I am able to build to iOS without any issues. I am on Sierra 10.12 as well. What version of XCode are you on?

Thanks,

@Strasza, does this information help? Can you tell me what libraries need to be linked and where, since the auto setup of XCode from Unity doesn't seem to be linking everything?


I've uploaded an image of the libraries and frameworks that are being included in the XCode project that is built from Unity. Are you missing anything seen here?

jlink5

Tue, 09/05/2017 - 20:30

In reply to by Strasza

It looks like libVuforia.a is missing. Does that get included and linked through the Unity plugin, or do I need to set that up elsewhere?

That should be getting linked and included through Unity. Navigate to Assets/Plugins/iOS/ and you should find it there. Select it and look at it in the Inspector panel. Make sure that the section for "Select platforms for plugin" has iOS checked.