Skip to content

Commit

Permalink
Minor fix for enable critical alerts in entitlements file
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 committed Jun 21, 2020
1 parent 91977d6 commit 8f0a027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HomeAssistant.xcodeproj/project.pbxproj
Expand Up @@ -3710,7 +3710,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -e";
shellScript = "if [[ ${ENABLE_CRITICAL_ALERTS} -eq 1 ]]; then\n entitlements_file=\"${TARGET_TEMP_DIR}/${FULL_PRODUCT_NAME}.xcent\"\n /usr/libexec/PlistBuddy -c \"add com.apple.developer.usernotifications.critical-alerts bool true\" \"$entitlements_file\"\nelse\n echo \"warning: Critical alerts disabled\"\nfi\n";
shellScript = "if [[ ${ENABLE_CRITICAL_ALERTS} -eq 1 ]]; then\n entitlements_file=\"${TARGET_TEMP_DIR}/${FULL_PRODUCT_NAME}.xcent\"\n /usr/libexec/PlistBuddy -c \"set com.apple.developer.usernotifications.critical-alerts bool true\" \"$entitlements_file\"\nelse\n echo \"warning: Critical alerts disabled\"\nfi\n";
showEnvVarsInLog = 0;
};
B641BC261E20BAF3002CCBC1 /* Swiftlint */ = {
Expand Down

0 comments on commit 8f0a027

Please sign in to comment.