Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X

Votes

1

Found in

2019.4.16f1

2020.1.9f1

Issue ID

1297289

Regression

Yes

[macOS] Build with IL2CPP scripting backend fails on Xcode

IL2CPP

-

Reproduction steps:
1. Create a new project
2. Go Edit -> Project Settings -> Player
3. Switch Scripting Backend for Standalone to IL2CPP
4. Go File -> Build Settings
5. Enable "Create Xcode Project"
6. Press build, choose the build location and build the project
7. Open Xcode project generated
8. Try to deploy the project to a Mac device

Expected result: The project builds and launches successfully
Actual result: The build fails with "rm: /Users/<User><Xcodeproj path>/DerivedData/build/Build/Products/Debug//GameAssembly.map: No such file or directory" error

Reproducible with: 2019.4.13f1, 2019.4.16f1, 2020.1.9f1, 2020.1.17f1
Not reproducible with: 2019.4.12f1, 2020.1.8f1, 2020.2.0f1, 2021.1.0a1, 2021.1.0a9 (read note below)
Could not test with 2018.4.30f1, because the option to generate Xcode projects for Mac standalone is not available

Not reproducible with Mono

Notes:
1. On 2020.1.0f1, 2021.1.0a9 the application asks for access to files on Desktop (where the project is located), so that might have to do something with the fix
2. I was not able to find where the issue was fixed on the trunk (it doesn't seem it reproduced in any versions of 2020.2, 2021.1 streams so this might be backported)

  1. Resolution Note (fix version 2021.1):

    No longer reproducible 2020.2.1f1 (might not reproduce in earlier 2020.2 as well)

  2. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.21f1 (10a68b23ee76)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.