# XCode error in VisionOS

## Common Errors <a href="#common-errors" id="common-errors"></a>

### Error: `ARM64 branch out of range (-140497472 max is +/-128MB)`

<figure><img src="https://3297937807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbBnRKltDHP4CJMgk9KOR%2Fuploads%2FTLZIwwSPSaHDrIxWQpot%2Fimage.png?alt=media&#x26;token=ac2ecb76-2667-494e-b3d5-9cbd3a0308f8" alt="" width="375"><figcaption></figcaption></figure>

* If you see this error when building in Xcode, try enabling `Project Settings > XR Plug-in Management > Apple visionOS > IL2CPP Large Exe Workaround` and rebuilding the Xcode project from Unity.



> [https://docs.unity3d.com/Packages/com.unity.polyspatial.visionos@2.1/manual/FAQ.html](https://docs.unity3d.com/Packages/com.unity.polyspatial.visionos@2.1/manual/FAQ.html)
