deptagency / Unity-iOS

A repository of scripts and configs for embedding a Unity app inside a native Swift project. Sample project included.
MIT License
44 stars 3 forks source link

Undefined symbol: _UnityGetGLView #2

Open vanessaaleung opened 5 years ago

vanessaaleung commented 5 years ago

Hi I got several errors of undefined symbol:

Undefined symbols for architecture x86_64: "_UnityGetGLView", referenced from: SMarket.UnityViewController.viewDidLoad() -> () in UnityViewController.o "_OBJC_CLASS_$_UnityAppController", referenced from: objc-class-ref in UnityViewController.o "_UnityUnregisterLifeCycleListener", referenced from: SMarket.UnityViewController.__deallocating_deinit in UnityViewController.o "__unityAppReady", referenced from: _UnityReady in UnityBridge.o "__renderingInited", referenced from: _UnityReady in UnityBridge.o "RegisterMonoModules()", referenced from: _UnityMain in UnityBridge.o "_UnityInitRuntime", referenced from: _UnityMain in UnityBridge.o "_UnityRegisterLifeCycleListener", referenced from: SMarket.UnityViewController.() -> SMarket.UnityViewController(in _DD7D669076043A5E954295332A532BD7).init() -> SMarket.UnityViewController in UnityViewController.o "_UnityGetGLViewController", referenced from: ShowSplashScreen(UIWindow*) in UnityBridge.o "UnityInitTrampoline()", referenced from: _UnityMain in UnityBridge.o "RegisterFeatures()", referenced from: _UnityMain in UnityBridge.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Could you help with that?