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
- Crash on SkinnedMeshRenderer::UpdateSkinnedMeshes when interacting with the Editor in a specific Scene
- Packman: "My Assets" filters section doesn't rescale on filter sections collapse
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
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.