Apple Mach-O Linker Error for arm64

I’m trying to integrate a Unity project in my existing native Xcode project. So far I followed this guide to get this working:

http://www.makethegame.net/unity/add-unity3d-to-native-ios-app-with-unity-5-and-vuforia-4-x/

I ran into a lot of issues, but I narrowed it down to the following linker error that I can’t get rid of and hope one of you guys can help me with.

ld: warning: directory not found for option '-L/Users/x/Unity-iPhone.xcodeproj/Libraries/Plugins/iOS'
ld: warning: directory not found for option '-L/Users/x/Unity-iPhone.xcodeproj/Libraries'
Undefined symbols for architecture arm64:
  "_UnitySetGraphicsDevice", referenced from:
      -[MyAppController shouldAttachRenderDelegate] in MyUnityAppController.o
  "_UnityRenderEvent", referenced from:
      -[MyAppController shouldAttachRenderDelegate] in MyUnityAppController.o
  "_GetAppController", referenced from:
      -[SecondViewController viewDidLoad] in SecondViewController.o
ld: symbol(s) not found for architecture arm64

I’m already using IL2CPP for backend scripting and universal architecture.
My Unity version is 5.1.1 and I’m using XCode 6.4.

I have exactly the same problem, except only the getAppController error.
Seems that the paths “-L/Users/x/Unity-iPhone.xcodeproj/Libraries/Plugins/iOS” and “-L/Users/x/Unity-iPhone.xcodeproj/Libraries” are wrong. Search those in finder and make sure to introduce them corretly. For this i usually put the full path (ie no $(SRCROOT) and the likes), just to try to get it to compile.

Hi @kgoedecke,
Change extension for your ViewControllers files from *.m to *.mm.