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
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
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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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"
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.
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.
sbsmith
Jan 25, 2021 20:34
This is also happening in 2019.4.17
jmzavala
Jan 15, 2021 13:58
go to "YourProject.xcodeproj", then in "*.pbxproj ", looking for 'shellScript', and adding the quotes in.
emreboyraz01
Nov 22, 2020 02:45
@MDROTAR you saved my life.Thanks a lot
artfail
Oct 16, 2020 04:35
I just hit this in 2020.1.9
michael_unity680
Sep 02, 2020 19:05
+1 I'm experiencing this on 2019.4.9f1
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.
virgilcwyile
Apr 24, 2020 15:01
Same issue occurred on 2019.3.7f1 version.