forked from jiaforios/UnityCombine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMapFileParser.sh
More file actions
executable file
·13 lines (13 loc) · 834 Bytes
/
MapFileParser.sh
File metadata and controls
executable file
·13 lines (13 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
if [ "$UNITY_SCRIPTING_BACKEND" = "il2cpp" ]
then
if [ -f "$PROJECT_DIR/MapFileParser" ]
then
if [[ $ARCHS == *"armv7"* ]]
then
"$PROJECT_DIR/MapFileParser" -format=Clang "$TARGET_TEMP_DIR/$PRODUCT_NAME-LinkMap-$CURRENT_VARIANT-armv7.txt" "$CONFIGURATION_BUILD_DIR/$PRODUCT_NAME.app/Data/Managed/SymbolMap-32"
fi
else
echo "The MapFileParser utility was not found in the directory '$PROJECT_DIR'. Managed stack traces may not be reported correctly. This usually happens when the Unity project is built with a Windows editor, then the Xcode project is copied to OSX to build for the target device. You can work around this issue by manually copying the MapFileParser executable from an OSX installation of the Unity editor into the '$PROJECT_DIR' directory."
fi
fi