process_symbols.sh 615 B

123456789101112131415161718
  1. #!/bin/sh
  2. # process_symbols
  3. #
  4. # Copyright (c) 2015 Unity Technologies. All rights reserved.
  5. if [ "$(arch)" == "arm64" ]; then
  6. usymtool="usymtoolarm64"
  7. else
  8. usymtool="usymtool"
  9. fi
  10. if [ "${SYNCHRONOUS_SYMBOL_PROCESSING}" = "TRUE" ]; then
  11. "$PROJECT_DIR/$usymtool" -symbolPath "$DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME" -il2cppOutputPath "$PROJECT_DIR/Il2CppOutputProject/Source/il2cppOutput/"
  12. else
  13. nohup "$PROJECT_DIR/$usymtool" -symbolPath "$DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME" -il2cppOutputPath "$PROJECT_DIR/Il2CppOutputProject/Source/il2cppOutput/" > /dev/null 2>&1 &
  14. disown
  15. fi