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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
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.