XCode Build error

XCode Build reports the following error

B/BL out of range 143266484 (max +/-128MB)

The error message indicates that the generated machine code is too large and exceeds the limit.

Macro definitions need to be added to the XCode project so that the generated executable file exceeds the limit.

Insert image description here

Steps:
In the project settings page, select the "Build Settings" tab.
Enter "Preprocessor Macros" in the search box.
Find the two configuration items "Debug" and "Release" in the "Preprocessor Macros" settings.
Under the configuration item that needs to be set, click the "+" button on the right to add a new macro definition.
In the pop-up dialog box, enter "IL2CPP_LARGE_EXECUTABLE_ARM_WORKAROUND" as the name of the macro definition

Macro definitions can also be added through code

reference

XCode can not build UnityWebRequest.o

Guess you like

Origin blog.csdn.net/sinat_34014668/article/details/135389877