Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2019.4

2019.4.10f1

2020.2

Issue ID

1274999

Regression

No

[IL2CPP][macOS] MONO variable path has no quotes in generated .sh script when exporting the Xcode project

MacOS

-

How to reproduce:
1. Create a new project
2. In the Project Settings, set the Scripting Backend to "IL2CPP" (Edit->Project Settings->Player->Other Settings->Configuration)
3. In Build Settings, check the "Create Xcode Project" option
4. Make a build
5. Open the created Xcode project
6. In the Xcode IDE, make a build (Product->Archive)
7. Go to the Xcode build's directory (/Users/<user>/Library/Developer/Xcode/DerivedData/<project name>-<id>/Build/Intermediates.noindex/<project name>.build/Debug/GameAssembly.build)
8. Open the .sh script
9. Inspect the "MONO" variable

Expected result: MONO variable's path has quotes
Actual result: MONO variable's path doesn't have quotes

Reproducible with: 2019.4.10f1, 2020.1.5f1, 2020.2.0b2
Couldn't test with: 2018.4.27f1 (There's no option to "Create Xcode Project" in build settings)

Comments (1)

  1. jmzavala

    Jan 15, 2021 13:58

    go to "YourProject.xcodeproj", then in "*.pbxproj ", looking for 'shellScript', and adding the quotes in.

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.