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.
↧