Search Issue Tracker
Fixed in 2021.2.X
Duplicate in 2019.4.X, 2020.3.X, 2021.1.X
Votes
1
Found in
2019.4
2020.2.0a21
2020.3
2021.1
2021.2
Issue ID
1272254
Regression
Yes
[IL2CPP][macOS] Xcode Build fails when using Legacy Build System
How to reproduce:
1. Open the attached project
2. Go to the Build Settings (File->Build Settings)
3. Enable the "Create Xcode project" option
4. Build the project
5. Open the created Xcode project
6. Build it (Product->Archive)
7. Observe the Xcode Build time messages
Expected result: Project is archived
Actual result: error "Command /usr/sbin/chown failed with exit code 1" is thrown
Reproducible with: 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a13
Not reproducible with: 2021.2.0a14, 2021.2.0a15
Couldn't test with: 2018.4.34f1 (Cannot create an Xcode project from Build Settings)
Notes:
With Intel - 64" Target Platform selected error:
"Command /bin/sh failed with exit code 255"
Doesn't reproduce with Mono
Between 2020.2.0a20 - 2020.2.0b7 there are different errors on build (Doesn't reproduce with only "Intel - 64" Target Platform selected)
Errors:
"GameAssembly.dylib (No such file or directory)" or "bin/sh failed with exit code 1"
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 (fix version 2021.2):
Does no longer reproduce with Unity 2021.2.0a14
Resolution Note (2021.1.X):
Fixed in Unity 2021.1.9f1
Resolution Note (2020.3.X):
Fixed in Unity 2020.3.10f1
Resolution Note (2019.4.X):
Fixed in Unity 2019.4.29f1