Merge pull request #1406 from chinmaygarde/master

Make path to PlistBuddy in the Xcode harness script for symbolicating the binary absolute
This commit is contained in:
Chinmay Garde 2015-09-30 12:08:58 -07:00
commit e21099f492

View File

@ -59,7 +59,7 @@
buildPhases = (
9E842EDC1B864EA100C84ECC /* Sources */,
9E842EDD1B864EA100C84ECC /* Frameworks */,
9EA9970A1B867E74007B8C62 /* Copy Application + Debugging Symbols */,
9EA9970A1B867E74007B8C62 /* Copy Application */,
9E3A4F5C1B8F82BE00095803 /* Nuke Fake Binary */,
9EB8E2DA1B90DF6F006BFAC2 /* Generate dSYM */,
);
@ -120,14 +120,14 @@
shellScript = "rm ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Harness";
showEnvVarsInLog = 0;
};
9EA9970A1B867E74007B8C62 /* Copy Application + Debugging Symbols */ = {
9EA9970A1B867E74007B8C62 /* Copy Application */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Application + Debugging Symbols";
name = "Copy Application";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
@ -149,7 +149,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "ACTUAL_EXECUTABLE_NAME=`(PlistBuddy -c \"print CFBundleExecutable\" ${INFOPLIST_FILE})`\ndsymutil -o ${BUILT_PRODUCTS_DIR}/Harness.app.dSYM ${SOURCE_ROOT}/Application/${ACTUAL_EXECUTABLE_NAME}";
shellScript = "ACTUAL_EXECUTABLE_NAME=`(/usr/libexec/PlistBuddy -c \"print CFBundleExecutable\" ${INFOPLIST_FILE})`\ndsymutil -o ${BUILT_PRODUCTS_DIR}/Harness.app.dSYM ${SOURCE_ROOT}/Application/${ACTUAL_EXECUTABLE_NAME}";
};
/* End PBXShellScriptBuildPhase section */