When i have been forced to use standard architecture for 64-bit support i get these errors below :
Undefined symbols for architecture arm64:
“_UnityADInterstitialADWasLoaded”, referenced from:
-[UnityInterstitialAd interstitialAdDidLoad:] in iAD.o
“_UnityADBannerViewWasLoaded”, referenced from:
-[UnityADBanner bannerViewDidLoadAd:] in iAD.o
“_UnityDropViewTouchProcessing”, referenced from:
-[UnityADBanner dealloc] in iAD.o
“SetLogEntryHandler(bool ()(LogType, char const, char*))”, referenced from:
UnityInitTrampoline() in UnityAppController.o
“_UnityCleanup”, referenced from:
-[UnityAppController applicationWillTerminate:] in UnityAppController.o
“UnityStopVideoIfPlaying()”, referenced from:
-[UnityAppController applicationWillResignActive:] in UnityAppController.o
“_UnityForcedPlayerLoop”, referenced from:
-[UnityAppController applicationWillResignActive:] in UnityAppController.o
“_UnitySendRemoteNotificationError”, referenced from:
-[UnityAppController application:didFailToRegisterForRemoteNotificationsWithError:] in UnityAppController.o
“_UnitySendDeviceToken”, referenced from:
-[UnityAppController application:didRegisterForRemoteNotificationsWithDeviceToken:] in UnityAppController.o
“_UnitySendRemoteNotification”, referenced from:
-[UnityAppController application:didReceiveRemoteNotification:] in UnityAppController.o
-[UnityAppController application:didFinishLaunchingWithOptions:] in UnityAppController.o
“_UnityInitApplicationGraphics”, referenced from:
-[UnityAppController startUnity:] in UnityAppController.o
“_UnityLoadApplication”, referenced from:
-[UnityAppController startUnity:] in UnityAppController.o
“_UnitySendTouchesMoved”, referenced from:
-[UnityView touchesMoved:withEvent:] in UnityView.o
“_UnitySendTouchesCancelled”, referenced from:
-[UnityView touchesCancelled:withEvent:] in UnityView.o
“_UnitySendTouchesEnded”, referenced from:
-[UnityView touchesEnded:withEvent:] in UnityView.o
“_UnityGetTargetFPS”, referenced from:
-[UnityAppController(Rendering) createDisplayLink] in UnityAppController+Rendering.o
“_UnityGetRenderingResolution”, referenced from:
-[UnityView recreateGLESSurfaceIfNeeded] in UnityView.o
-[UnityView recreateGLESSurface] in UnityView.o
“_UnityGetSystemResolution”, referenced from:
-[UnityView recreateGLESSurfaceIfNeeded] in UnityView.o
“_UnityGetDesiredMSAASampleCount”, referenced from:
-[UnityView recreateGLESSurfaceIfNeeded] in UnityView.o
-[UnityView recreateGLESSurface] in UnityView.o
“_UnityDisableRenderBuffers”, referenced from:
-[DisplayManager screenDidDisconnect:] in DisplayManager.o
“_UnityUse24bitDepthBuffer”, referenced from:
-[UnityView recreateGLESSurfaceIfNeeded] in UnityView.o
-[UnityView recreateGLESSurface] in UnityView.o
“_mono_aot_module_UnityEngine_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityUpdateDisplayList”, referenced from:
-[DisplayManager updateDisplayListInUnity] in DisplayManager.o
“_UnityIsCaptureScreenshotRequested”, referenced from:
PreparePresentRenderingSurface(UnityRenderingSurface*, EAGLContext*) in GlesHelper.o
“_UnityReportWWWFinishedLoadingData”, referenced from:
-[UnityWWWConnectionDelegate connectionDidFinishLoading:] in WWWConnection.o
“_UnitySetDefaultFBO”, referenced from:
PreparePresentRenderingSurface(UnityRenderingSurface*, EAGLContext*) in GlesHelper.o
SetupUnityDefaultFBO(UnityRenderingSurface*) in GlesHelper.o
“_UnityBlitToSystemFB”, referenced from:
PreparePresentRenderingSurface(UnityRenderingSurface*, EAGLContext*) in GlesHelper.o
“_UnityDestroyExternalDepthSurface”, referenced from:
DestroyUnityRenderBuffers(UnityRenderingSurface*) in GlesHelper.o
“_UnityCreateUpdateExternalColorSurface”, referenced from:
CreateUnityRenderBuffers(UnityRenderingSurface*) in GlesHelper.o
“_UnityCreateUpdateExternalDepthSurface”, referenced from:
CreateUnityRenderBuffers(UnityRenderingSurface*) in GlesHelper.o
“_UnityInitApplicationNoGraphics”, referenced from:
-[UnityAppController application:didFinishLaunchingWithOptions:] in UnityAppController.o
“_UnitySendLocalNotification”, referenced from:
-[UnityAppController application:didReceiveLocalNotification:] in UnityAppController.o
-[UnityAppController application:didFinishLaunchingWithOptions:] in UnityAppController.o
“_UnitySendTouchesBegin”, referenced from:
-[UnityView touchesBegan:withEvent:] in UnityView.o
“_UnityFinishRendering”, referenced from:
-[UnityView recreateGLESSurface] in UnityView.o
-[UnityAppController(ViewHandling) orientUnity:] in UnityAppController+ViewHandling.o
“_UnityUse32bitDisplayBuffer”, referenced from:
-[UnityView recreateGLESSurfaceIfNeeded] in UnityView.o
-[UnityView recreateGLESSurface] in UnityView.o
“_UnityHasRenderingAPIExtension”, referenced from:
InitGLES(int) in GlesHelper.o
“_UnityReportBackbufferChange”, referenced from:
-[UnityView recreateGLESSurface] in UnityView.o
“_UnityReportWWWSentData”, referenced from:
-[UnityWWWConnectionDelegate connection:didSendBodyData:totalBytesWritten:totalBytesExpectedToWrite:] in WWWConnection.o
“_UnitySetViewTouchProcessing”, referenced from:
-[KeyboardDelegate init] in Keyboard.o
-[UnityADBanner initImpl:layout:type:] in iAD.o
“_UnityReportResizeView”, referenced from:
-[UnityView onUpdateSurfaceSize:] in UnityView.o
“_UnityUseAnimatedAutorotation”, referenced from:
-[UnityViewControllerBase willRotateToInterfaceOrientation:duration:] in UnityViewControllerBase.o
“_UnityRequestedScreenOrientation”, referenced from:
ShouldAutorotateToInterfaceOrientation_DefaultImpl(objc_object*, objc_selector*, long) in UnityViewControllerBase.o
SupportedInterfaceOrientations_DefaultImpl(objc_object*, objc_selector*) in UnityViewControllerBase.o
-[UnityAppController checkOrientationRequest] in UnityAppController.o
-[UnityAppController(ViewHandling) createRootViewController] in UnityAppController+ViewHandling.o
“_UnityRegisterFBO”, referenced from:
CreateUnityRenderBuffers(UnityRenderingSurface*) in GlesHelper.o
“_UnityIsOrientationEnabled”, referenced from:
ShouldAutorotateToInterfaceOrientation_DefaultImpl(objc_object*, objc_selector*, long) in UnityViewControllerBase.o
SupportedInterfaceOrientations_DefaultImpl(objc_object*, objc_selector*) in UnityViewControllerBase.o
“_mono_aot_module_UnityEngine_UI_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityPlayerLoop”, referenced from:
-[UnityAppController(Rendering) repaint] in UnityAppController+Rendering.o
-[UnityView didRotate] in UnityView.o
-[UnityView recreateGLESSurface] in UnityView.o
-[UnityAppController(ViewHandling) showGameUI] in UnityAppController+ViewHandling.o
“_UnityIsRenderingAPISupported”, referenced from:
CreateContext(EAGLContext*) in EAGLContextHelper.o
“_UnityPause”, referenced from:
-[UnityVideoViewController viewDidDisappear:] in VideoViewController.o
-[UnityAppController applicationDidBecomeActive:] in UnityAppController.o
-[UnityAppController applicationWillResignActive:] in UnityAppController.o
-[UnityADBanner bannerViewActionShouldBegin:willLeaveApplication:] in iAD.o
-[UnityADBanner bannerViewActionDidFinish:] in iAD.o
-[UnityInterstitialAd viewDidDisappear:] in iAD.o
-[UnityInterstitialAd viewWillAppear:] in iAD.o
…
“UnitySetLastHeading(float, float, float, float, float, double)”, referenced from:
-[LocationServiceDelegate locationManager:didUpdateHeading:] in iPhone_Sensors.o
“UnitySetLastLocation(double, float, float, float, float, float)”, referenced from:
-[LocationServiceDelegate locationManager:didUpdateToLocation:fromLocation:] in iPhone_Sensors.o
“_UnityDestroyExternalColorSurface”, referenced from:
DestroyUnityRenderBuffers(UnityRenderingSurface*) in GlesHelper.o
“_UnityReportWWWStatusError”, referenced from:
-[UnityWWWConnectionDelegate connection:didReceiveResponse:] in WWWConnection.o
“_UnityADBannerViewWasClicked”, referenced from:
-[UnityADBanner bannerViewActionDidFinish:] in iAD.o
“_UnityReportWWWReceivedData”, referenced from:
-[UnityWWWConnectionDelegate connection:didReceiveData:] in WWWConnection.o
“_UnityReportWWWFailedWithError”, referenced from:
-[UnityWWWConnectionDelegate connection:didFailWithError:] in WWWConnection.o
“_mono_aot_module_System_Core_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityReportWWWReceivedResponse”, referenced from:
-[UnityWWWConnectionDelegate connection:didReceiveResponse:] in WWWConnection.o
“_mono_aot_module_System_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnitySetPlayerFocus”, referenced from:
-[UnityAppController startUnity:] in UnityAppController.o
-[UnityAppController applicationDidBecomeActive:] in UnityAppController.o
-[UnityAppController applicationWillResignActive:] in UnityAppController.o
“_mono_aot_module_Assembly_CSharp_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityCaptureScreenshot”, referenced from:
PreparePresentRenderingSurface(UnityRenderingSurface*, EAGLContext*) in GlesHelper.o
“_mono_dl_register_symbol”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_only”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_ficall_flag”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityInputProcess”, referenced from:
-[UnityAppController(Rendering) repaint] in UnityAppController+Rendering.o
“_mono_aot_module_Mono_Security_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_register_module”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_mono_aot_module_mscorlib_info”, referenced from:
RegisterMonoModules() in RegisterMonoModules.o
“_UnityParseCommandLine”, referenced from:
_main in main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and i really tried many things but couldn’t solve these issues.
If I’m not wrong I’m not the only person who got these errors. So please help me if you know any solutions.
Thank you.