Log in or register to post comments

iOS Project won't export from Xcode

March 21, 2017 - 10:21am #1

Unity 5.5

Vuforia 5.5.9

Xcode 8.1

Google Analytic V4 (no bitcode)

 

I've integrated Google Analytics into a Vuforia project I had previously built. It exports to Android fine but I'm having issues with Xcode.

When I tried to build to a device, I get the following error:

 

Undefined symbols for architecture arm64:

  "_UnityRenderBufferMTLTexture", referenced from:

      PlatformiOS::setRenderBuffers(void*) in libVuforiaUnityPlayer.a(PlatformiOS.o)

  "_UnityCurrentMTLCommandEncoder", referenced from:

      PlatformiOS::setRenderBuffers(void*) in libVuforiaUnityPlayer.a(PlatformiOS.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

I added the necessary libraries for Google Analytics. The only thing I changed in the Unity Player Settings was changing the API compatibility settings from Subset .NET 2.0 to .NET 2.0 (as it wouldn't push out before)

 

I've done loads of googling and can't seem to find the exact solution to this issue.

Can anyone help?

iOS Project won't export from Xcode

January 24, 2018 - 10:03am #4

Any solution? Suffering from same problem.

iOS Project won't export from Xcode

April 19, 2017 - 1:56pm #3

Same problem here and using Vuforia 6.2.10 for Unity 5.5.0p4 and XCode 8.3.1. And the "fix" doesn't work and it is not official fix problem.

i can't test it on device or publish with this error. Please Vuforia, fix that error.

iOS Project won't export from Xcode

March 28, 2017 - 9:18pm #2

I've got the same problem and found a solution here on SO

http://stackoverflow.com/questions/42221422/unity-vuforia-xcode-build-error-undefined-symbols-for-architecture-arm64



The fix is to import the Vuforia package into the project again

 

 

Log in or register to post comments