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 (6)

  1. 1d358a55e37d050ca040a836fc42f517?d=mm

    kg-lijiacan

    May 08, 2021 07:53

    still happens on 2020.3.0f1

  2. 84f7037577b4b7f1a2d21c8882b6627f?d=mm

    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)

  3. E3770f848289e0f728835ba0b243a031?d=mm

    crazii

    Dec 23, 2020 07:13

    Same here, 2019.4.8F1

  4. Fab397e954057e48c87fdfeb6cb919a0?d=mm

    ElectricMartin

    Nov 30, 2020 03:58

    We are experiencing this issue still in 2020.1.12f1

  5. 34719b4f15f5a6a9c065d9881ef60394?d=mm

    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

  6. B3159ce9a89558786da050e88f85bc4a?d=mm

    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.