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

Build error "Apple Mach-O Linker (ld)" from "_OpenURL"

Discussion in 'iOS and tvOS' started by StanislavMaksheev, Oct 23, 2017.

  1. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
    Hi,
    I recieve build error on "Linking" stage, it is

    Apple Mach-O Linker (ld) Error Group
    Undefined symbols for architecture arm64:
    "_OpenURL", referenced from:
    _ActTesterGui_OpenURL_m1647756852 in Bulk_Assembly-CSharp-firstpass_0.o
    (maybe you meant: Z26Application_CUSTOM_OpenURLP12Il2CppString, Z40Register_UnityEngine_Application_OpenURLv , Application_OpenURL_m2196105180 , ActTesterGui_OpenURL_m1647756852 )
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Error on Unity 2017.2.0 f3, but on 2017.1.0 there was no error!!
    I use xCode 8.2.1
     
    epicoro likes this.
  2. sollywon

    sollywon

    Joined:
    Nov 21, 2015
    Posts:
    4
    Hi,
    I receive the same error on xCode build as below:
    Undefined symbols for architecture armv7:
    "_OpenURL", referenced from:
    _ActTesterGui_OpenURL_m4071563624 in Bulk_Assembly-CSharp-firstpass_0.o
    (maybe you meant: __Z26Application_CUSTOM_OpenURLP12Il2CppString, _LoaderScript_OpenURL_m1027770383 , _InterfaceScript_OpenURL_m693907939_MetadataUsageId , __Z40Register_UnityEngine_Application_OpenURLv , _InterfaceScript_OpenURL_m693907939 , _ActTesterGui_OpenURL_m4071563624 , _LoaderScript_OpenURL_m1027770383_MetadataUsageId , _Application_OpenURL_m1097049927 )
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    xCode version is: 8.2.1 and Unity 2017.2.0f3
     
  3. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Please make a bugreport and let me know your bug number.
    Thanks!
     
  4. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
  5. sollywon

    sollywon

    Joined:
    Nov 21, 2015
    Posts:
    4
    I'v just built my project with unity 5.6.0f3 and xCode compile it without error!
     
  6. sollywon

    sollywon

    Joined:
    Nov 21, 2015
    Posts:
    4
    would you please let me know how could I make a bug report?
     
  7. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
    @sollywon in Editor click Help-->Report a Bug
     
  8. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Thanks! Our QA is on it.
     
  9. epicoro

    epicoro

    Joined:
    Jun 11, 2013
    Posts:
    9
    I have the same issue (xCode v9.0.1, Unity 2017.2.0f3), is there a way to fix it?
     
  10. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
  11. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
    @JeffDUnity3D @Mantas-Puida
    Hi,
    Your QA has reproduce this bug, but they can't say when it will be fixed

    It is big problem for me, i can't build game who under development.
    How long do I wait for the bugfix or any temporary fix?
     
  12. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    It's a bug in AntiCheatToolkit plugin your project is using.
    You can fix it by editing ActTesterGui.cs line 26:
    #if UNITY_2017_2_OR_NEWER
    change it to
    #if UNITY_2017_2_OR_NEWER && UNITY_WEBGL
     
    zeb33 and epicoro like this.
  13. StanislavMaksheev

    StanislavMaksheev

    Joined:
    Feb 6, 2015
    Posts:
    47
    that's great!!!
    thank's a lot!
     
  14. epicoro

    epicoro

    Joined:
    Jun 11, 2013
    Posts:
    9
    Wow, thank you!

     
  15. nanotribegmbh

    nanotribegmbh

    Joined:
    Sep 13, 2017
    Posts:
    7
    Thanks, that solves the problem