Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Undefined symbols for architecture arm64

Discussion in 'Editor & General Support' started by xkagan_, Dec 21, 2014.

  1. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    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.
     
  2. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    Using Unity 4.6.1 Xcode 6.1.1 Mac 10.9.5.
     
  3. Shahin7

    Shahin7

    Joined:
    Dec 21, 2014
    Posts:
    2
    I have similar problem, if install Yosemite can help?
     
  4. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    I'm not sure abot this but i think it's about 64-bit support of unity because everything was fine when using armv7.
     
  5. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
  6. JesseJames

    JesseJames

    Joined:
    Jan 6, 2015
    Posts:
    2
    Hi,
    I just downloaded Unity 4.6.1f1 and I'm building with XCode 6 but I'm still getting linker errors. Is this version supposed to support arm64 ?

    cheers
     
  7. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    64bit support is not out jet.
    http://blogs.unity3d.com/2014/12/23/rd-christmas-update/
     
  8. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    Will free unity users get 64-bit support at the end of january?
     
  9. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    There is no different releases for free and pro, its the same version.
     
  10. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    It was my mistake. I read it wrong. It says beta version will be available in the middle of january for subscribers and pre-orders.

    Thanks by the way.
     
  11. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    i updated unity to 4.6.1p5 but still getting the same error. am i doing something wrong or less?
     
  12. AdamKalisiak

    AdamKalisiak

    Joined:
    Sep 15, 2012
    Posts:
    7
    The same here, I am using 4.6.1p5 I get "Undefined symbols for architecture arm64"
     
  13. xkagan_

    xkagan_

    Joined:
    Dec 21, 2014
    Posts:
    7
    i only tried with iOS 7 and i said my problem solved but when i tried with iOS 8 by chance, i saw that only armv7 linker errors were fixed :/ i think it will take time for fully support :/
     
  14. ibyte

    ibyte

    Joined:
    Aug 14, 2009
    Posts:
    1,043
    Hi I am also now getting this error for external ObjC code i have written to interface with my Unity game. Help -- stuck?
     
  15. Deleted User

    Deleted User

    Guest

    I'm getting this with Unity 5.1.3, XCode 7, iOS9
     
  16. geidsvig

    geidsvig

    Joined:
    Aug 15, 2015
    Posts:
    1