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. Dismiss Notice

[Xcode Linking Error][SOLVED] Undefined symbol for architecture arm64

Discussion in 'Editor & General Support' started by P-O-M, Sep 12, 2016.

  1. P-O-M

    P-O-M

    Joined:
    Mar 2, 2013
    Posts:
    8
    Hey Guys,
    Ive created a small unity project dedicated for Bluetooth detection (using CoreBluetooth), just to test BT logic, when running it in Xcode to upload to the device, i keep getting this linking error, and i can't seem to get across it.
    Ive googled it and it says to turn off few flags and such but still the error occurs.
    At first look it seems like the code is not eligible to run on arm64 architecture, but i can't disable this architecture right? cause i want to target newer devices as well.
    Do you have any insight on this?
    If you willing to help and need me to post more information or code, just let me know what info/code you need and ill post immediately.

    Attached is the Xcode error.
    Thank you in advance!
    Roy.

     
  2. P-O-M

    P-O-M

    Joined:
    Mar 2, 2013
    Posts:
    8
    Found the problem, I'm posting here for future reference.
    In Xcode, under Build Phases ---> Link Binary With Libraries, I've added CoreBluetooth.framework to the list (using the '+' button), and the error was gone.

    Roy.
     
  3. WilB

    WilB

    Joined:
    Oct 25, 2012
    Posts:
    17
    Thanks for sharing Roy, that worked!

    Now trying to get past this runtime error:
    "[BoringSSL] Function boringssl_session_errorlog: line 2881 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert"