Search Issue Tracker
Won't Fix
Votes
2
Found in
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1322113
Regression
No
[macOS][IL2CPP] Xcode build never completes when building via Terminal
How to reproduce:
1. Open the attached project
2. In the Build Settings, make sure that the "Create Xcode project" option is enabled
3. Make a build
4. Open the Terminal
5. In the Terminal, navigate to the project's directory
6. Execute the following command: xcodebuild -scheme "IL2CPP Test" -configuration Release
7. Inspect the Terminal Window
Expected result: Build succeeds and finishes
Actual result: Building via Terminal never finishes
Reproducible with: 2020.3.1f1, 2021.1.0f1, 2021.2.0a9
Couldn't test with: 2018.4.33f1, 2019.4.22f1 (Building Xcode project fails)
Note:
- Only reproducible with the Xcode "Legacy Build System"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- HDRP 6-way VFX Shader is lit incorrectly when World coordinates are used
- 2D Sprite Renderer in front is affected by Sprites in the background when using Sorting Layers and a Shadow Caster 2D with Self Shadow
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
Resolution Note (2021.2.X):
This is most likely because the Xcode legacy build system has problems with IL2CPP. The legacy build system was deprecated and isn't available in new versions of Xcode. You should be able to force Xcode to use the new build system from the xcodebuild command with the argument -UseModernBuildSystem=1.