Search Issue Tracker

Not Reproducible

Votes

0

Found in

2019.3

2020.1

2020.1.0a15

Issue ID

1200865

Regression

No

[IL2CPP] Generated Mac Xcode project causes a missing GameAssembly.map error

MacOS

-

How to reproduce:
1. Open the "Il2cppMacTest.zip" project
2. Build the project for macOS with "Create Xcode Project" option
3. Build the project via Xcode

Actual result: Errors are thrown in Xcode
Expected result: No errors are thrown in Xcode

Reproducible with: 2020.1.0a15, 2019.3.0f1.

Notes:
- The "Create Xcode Project" option is available since 2019.3.
- The issue reproduces only on Il2CPP
- The error:
rm: /Users/karolisk/Library/Developer/Xcode/DerivedData/asdfgh-dtlrqwuigtqbwletbsmnmbgwtoof/Build/Products/Debug//GameAssembly.map: No such file or directory

Comments (14)

  1. greg-harding

    Feb 18, 2021 00:43

    Just hit this in 2021.1.16 too. Worked around it by adding the -f option to rm so it doesn't treat a missing file as a failure.

    ...
    rm -f "$CONFIGURATION_BUILD_DIR/${FRAMEWORKS_FOLDER_PATH}GameAssembly.map"

  2. Wriggler

    Feb 17, 2021 15:11

    Yes, I'm seeing this in Unity 2019.4.15f1 too. LRG_MARK's solution of removing the "rm" statement from project.pbxproj (inside the xcodeproj file) works.

  3. lrg_mark

    Jan 25, 2021 22:58

    This currently still happens on 2019.4.17. The fix is to remove the line at the end of the GameAssembly script that tries to remove the GameAssembly.map. It is failing because that file does not exist.

  4. sbsmith

    Jan 25, 2021 20:34

    This is also happening in 2019.4.17

  5. jmzavala

    Jan 15, 2021 13:58

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

  6. emreboyraz01

    Nov 22, 2020 02:45

    @MDROTAR you saved my life.Thanks a lot

  7. artfail

    Oct 16, 2020 04:35

    I just hit this in 2020.1.9

  8. michael_unity680

    Sep 02, 2020 19:05

    +1 I'm experiencing this on 2019.4.9f1

  9. wagenheimer

    May 30, 2020 13:37

    @mrrotar "modifying the Run Script it generated for the GameAssembly "

    Where is this script?

    I sent a new bug report (1251746) with a project. I hope they fix it now.

  10. virgilcwyile

    Apr 24, 2020 15:01

    Same issue occurred on 2019.3.7f1 version.

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.