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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.