You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following errors after following all the instructions:
Classes/AppDelegate.mm:45:13: Use of undeclared identifier 'UnityRegisterRenderingPlugin'
Classes/AppDelegate.mm:50:12: Use of undeclared identifier 'UnityGetMainWindow'
Classes/AppDelegate.mm:109:9: Use of undeclared identifier 'UnitySendMessage'
Classes/AppDelegate.mm:123:9: Use of undeclared identifier 'UnitySendMessage'
I can see these methods are in the file UnityInterface.h so I added an import line to the file but then I get linking errors.
Undefined symbols for architecture arm64:
"_UnityGetMainWindow", referenced from:
-[AppDelegate unityWindow] in AppDelegate.o
"OBJC_CLASS$_VuforiaRenderDelegate", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_UnityAppController", referenced from:
objc-class-ref in AppDelegate.o
"_UnitySendMessage", referenced from:
-[AppDelegate sendMessageToUnity:] in AppDelegate.o
-[AppDelegate sendMessageToUnity:parameter:] in AppDelegate.o
"_VuforiaRenderEvent", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
"_UnityRegisterRenderingPlugin", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas? Any help is appreciated.
The text was updated successfully, but these errors were encountered:
I'm getting the following errors after following all the instructions:
Classes/AppDelegate.mm:45:13: Use of undeclared identifier 'UnityRegisterRenderingPlugin'
Classes/AppDelegate.mm:50:12: Use of undeclared identifier 'UnityGetMainWindow'
Classes/AppDelegate.mm:109:9: Use of undeclared identifier 'UnitySendMessage'
Classes/AppDelegate.mm:123:9: Use of undeclared identifier 'UnitySendMessage'
I can see these methods are in the file UnityInterface.h so I added an import line to the file but then I get linking errors.
Undefined symbols for architecture arm64:
"_UnityGetMainWindow", referenced from:
-[AppDelegate unityWindow] in AppDelegate.o
"OBJC_CLASS$_VuforiaRenderDelegate", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_UnityAppController", referenced from:
objc-class-ref in AppDelegate.o
"_UnitySendMessage", referenced from:
-[AppDelegate sendMessageToUnity:] in AppDelegate.o
-[AppDelegate sendMessageToUnity:parameter:] in AppDelegate.o
"_VuforiaRenderEvent", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
"_UnityRegisterRenderingPlugin", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas? Any help is appreciated.
The text was updated successfully, but these errors were encountered: