Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2018.4.X, 2019.4.X, 2020.1.X



Found in



Issue ID




[iOS] ARM64 branch out of range (747396072 max is +/-128MB) Xcode error when building development build with script debugging



How to reproduce:
1. Open the project
2. Build the project for iOS with "development build" and "script debugging" enabled
3. Build the exported project via Xcode

Actual result: Xcode build fails with "ARM64 branch out of range (747396072 max is +/-128MB)" error.
Expected result: Xcode build succeeds.

Reproducible with: 2018.4.17f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a23.

- Script debugging is required to reproduce this issue.

Comments (10)

  1. IgorBoyko

    Dec 11, 2022 18:01

    Same with Unity 2021.3.15f1, known version to have no issues: 2021.3.12f1

  2. ilyakozyr

    Nov 07, 2022 09:23

    Reproduces for me with Unity 2020.3.33f1 when building in Xcode (on M1 Mac). Was able to fix it after removing parameter "configuration" from the "gym" in Fastfile (it was set to "Debug" during the error).

  3. bakno

    Feb 15, 2022 21:41

    Same problem in version 2021

  4. black-balamut

    Sep 29, 2021 07:49

    Same here, 2020.3.15f2

  5. kg-lijiacan

    May 08, 2021 07:53

    still happens on 2020.3.0f1

  6. sramosubm

    Apr 13, 2021 11:25

    We are having a very similar issue on Unity 2019.4.23, also when building with script debugging enabled. In our case it complains about the ARM branch:

    ld: b/bl/blx ARM branch out of range (81306792 max is +/-32MB): from _X509_ALGORS_it.island (0x00E07A3C) to _X509_ALGORS_it (0x05B91EEC) in '_X509_ALGORS_it.island' for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  7. crazii

    Dec 23, 2020 07:13

    Same here, 2019.4.8F1

  8. ElectricMartin

    Nov 30, 2020 03:58

    We are experiencing this issue still in 2020.1.12f1

  9. hida_unity

    Oct 28, 2020 03:36

    I encountered this problem on 2019.4.11f1.
    Xcode error log was below.

    ld: b(l) ARM64 branch out of range (137614568 max is +/-128MB): from +[UnityURLRequest storeRequest:taskID:] (0x000055E0) to __Unwind_Resume@0x00000000 (0x08342BA0) in '+[UnityURLRequest storeRequest:taskID:]' from /Users/wp-pc-2019-037/Library/Developer/Xcode/DerivedData/Unity-iPhone-altfcrmzelhaupcsofvdupbtwihd/Build/Intermediates.noindex/

  10. pistoleta

    Oct 23, 2020 15:11

    This still happens on 2019.4.12F1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.