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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.