I am attempting to add Parse.com crash reporting to my application, but ran into an issue that I can't seem to find a fix to. Their documentation states you should setup a Run Script with the following script:
export PATH=/usr/local/bin:$PATH
cd (path to working directory i.e. - /Users/Username/Documents/ParseProject/parse)
parse symbols "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}"
The issue I have with this is that it requires an explicit project directory to cd to. That results in obvious problems when using git and attempting to run the same script on another computer.
I have tried changing the cd to a few different options:
cd ${PROJECT_DIR}
cd "$PROJECT_DIR"
cd ./ParseProject/parse
cd ./parse
How can I get this to work so that it'll function across different computers?