Search Issue Tracker

Fixed in 2020.2.X

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

Votes

4

Found in

2018.4

2020.1

Issue ID

1205136

Regression

No

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

IL2CPP

-

How to reproduce:
1. Open the 728989.zip 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.

Notes:
- Script debugging is required to reproduce this issue.

Comments (18)

  1. bakno

    Feb 15, 2022 21:41

    Same problem in version 2021

  2. black-balamut

    Sep 29, 2021 07:49

    Same here, 2020.3.15f2

  3. kg-lijiacan

    May 08, 2021 07:53

    still happens on 2020.3.0f1

  4. 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)

  5. crazii

    Dec 23, 2020 07:13

    Same here, 2019.4.8F1

  6. ElectricMartin

    Nov 30, 2020 03:58

    We are experiencing this issue still in 2020.1.12f1

  7. 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/Unity-iPhone.build/Debug-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityWebRequest.o

  8. 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.