Created
June 10, 2014 12:50
-
-
Save KosmicTask/24c0c317f5588331d9f7 to your computer and use it in GitHub Desktop.
HockeyApp OS X SDK : Configure NSPrincipalClass == BITCrashExceptionApplication in info.plist for release builds only
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "${CONFIGURATION}" = "Release" ]; then | |
# HockeyApp support | |
# Set prinicipal class in output info.plist | |
# This improves the crash catchers behaviour for release builds only. | |
# NSApplication is preferred for development builds as it logs to the console. | |
release_plist=${CONFIGURATION_BUILD_DIR}/${INFOPLIST_PATH} | |
echo "${release_plist}" | |
/usr/libexec/PlistBuddy -c "Set :NSPrincipalClass BITCrashExceptionApplication" "${release_plist}" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment