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

MacOS

-

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"

  1. Resolution Note (fix version 2021.2):

    Does no longer reproduce with Unity 2021.2.0a14

  2. Resolution Note (2021.1.X):

    Fixed in Unity 2021.1.9f1

  3. Resolution Note (2020.3.X):

    Fixed in Unity 2020.3.10f1

  4. Resolution Note (2019.4.X):

    Fixed in Unity 2019.4.29f1

Comments (1)

  1. flip_the_unflappable

    Jul 29, 2021 21:47

    Glad to see this resolved.

Add comment

Log in to post comment