├── screenshot.jpg ├── .github └── FUNDING.yml ├── .gitignore ├── CONTRIBUTING.md ├── montereyblocker.xcodeproj ├── project.xcworkspace │ ├── xcuserdata │ │ └── st.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── xcuserdata │ └── st.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── xcshareddata │ └── xcschemes │ │ └── montereyblocker.xcscheme └── project.pbxproj ├── montereyblocker ├── montereyblocker.entitlements └── main.m ├── montereyblocker-remove.sh ├── montereyblocker-pkg ├── scripts │ └── postinstall └── payload │ └── Library │ └── LaunchAgents │ └── dk.envo-it.montereyblocker.plist ├── LICENSE └── README.md /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Theile/montereyblocker/HEAD/screenshot.jpg -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: "https://www.buymeacoffee.com/hjuutilainen" 2 | custom: "https://www.buymeacoffee.com/theilgaard" 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pkg 2 | .DS_Store 3 | build 4 | /montereyblocker-pkg/payload/usr/local/bin/montereyblocker 5 | /montereyblocker-pkg/buildmontereyblockerPkg.sh 6 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to montereyblocker 2 | 3 | ## Pull Requests (PRs) 4 | 5 | If you know of improvements to this app, please post a PR. 6 | 7 | ## Issues 8 | 9 | If you encounter an issue please document it and write an issue. 10 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/project.xcworkspace/xcuserdata/st.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Theile/montereyblocker/HEAD/montereyblocker.xcodeproj/project.xcworkspace/xcuserdata/st.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /montereyblocker/montereyblocker.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.get-task-allow 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /montereyblocker-remove.sh: -------------------------------------------------------------------------------- 1 | current_user_uid=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/UID :/ && ! /loginwindow/ { print $3 }' ) 2 | 3 | launchd_item_path="/Library/LaunchAgents/dk.envo-it.montereyblocker.plist" 4 | launchctl bootout gui/${current_user_uid} "${launchd_item_path}" 5 | 6 | rm -f /Library/LaunchAgents/dk.envo-it.montereyblocker.plist 7 | rm -f /usr/local/bin/montereyblocker 8 | 9 | pkgutil --forget dk.envo-it.montereyblocker 10 | -------------------------------------------------------------------------------- /montereyblocker-pkg/scripts/postinstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ $3 != "/" ]]; then 4 | exit 0 5 | fi 6 | 7 | launchd_item_path="/Library/LaunchAgents/dk.envo-it.montereyblocker.plist" 8 | current_user_uid=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/UID :/ && ! /loginwindow/ { print $3 }' ) 9 | 10 | launchctl bootout gui/${current_user_uid} "${launchd_item_path}" > /dev/null 2>&1 11 | launchctl bootstrap gui/${current_user_uid} "${launchd_item_path}" 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /montereyblocker-pkg/payload/Library/LaunchAgents/dk.envo-it.montereyblocker.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Label 6 | dk.envo-it.montereyblocker 7 | ProgramArguments 8 | 9 | /usr/local/bin/montereyblocker 10 | 11 | RunAtLoad 12 | 13 | KeepAlive 14 | 15 | LimitLoadToSessionType 16 | Aqua 17 | 18 | 19 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/xcuserdata/st.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | montereyblocker.xcscheme_^#shared#^_ 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | 15 | SuppressBuildableAutocreation 16 | 17 | 265C516E253C6D6700D868C4 18 | 19 | primary 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Hannes Juutilainen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/xcshareddata/xcschemes/montereyblocker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 45 | 51 | 52 | 53 | 54 | 60 | 62 | 68 | 69 | 70 | 71 | 73 | 74 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Monterey Blocker 2 | 3 | Detect when `Install macOS Monterey.app` installer application has launched, terminate the process and display an alert. 4 | 5 | ![montereyblocker](https://raw.githubusercontent.com/Theile/montereyblocker/main/screenshot.jpg) 6 | 7 | _This project is totally copied from the original bigsurblocker from which it is forked from._ 8 | 9 | To fully uninstall `montereyblocker`, run the following (as root or with sudo), or deploy `montereyblocker-remove.sh`: 10 | ``` 11 | current_user_uid=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/UID :/ && ! /loginwindow/ { print $3 }' ) 12 | 13 | launchd_item_path="/Library/LaunchAgents/dk.envo-it.montereyblocker.plist" 14 | launchctl bootout gui/${current_user_uid} "${launchd_item_path}" 15 | 16 | rm -f /Library/LaunchAgents/dk.envo-it.montereyblocker.plist 17 | rm -f /usr/local/bin/montereyblocker 18 | 19 | pkgutil --forget dk.envo-it.montereyblocker 20 | ``` 21 | 22 | _See [hjuutilainen/bigsurblocker](https://github.com/hjuutilainen/bigsurblocker) for the original software for blocking Big Sur and README there._ 23 | 24 | 25 | The rest of this README is from that original project: 26 | 27 | This project is heavily inspired by Erik Berglund's [AppBlocker](https://github.com/erikberglund/AppBlocker). It uses the same underlying idea of registering and listening for NSWorkspace notifications when app has started up and then checking the CFBundleIdentifier of the launched app to identify a Big Sur installer launch. 28 | 29 | # Why 30 | 31 | Apple wants end users to upgrade to the latest macOS as soon as it becomes available. Depending on the software and policies your organization uses, this might be unacceptable. As an administrator, you currently have some options: 32 | - Use an MDM to push a profile to delay updates for maximum of 90 days. This will however postpone _all_ updates, not just the macOS upgrade. 33 | - If your fleet is enrolled in an MDM, you can use `softwareupdate --ignore` to hide certain updates. This will result in a highly broken user experience where the system thinks it has an update pending but it is unable to download and install it. Apple has also decided that only MDM enrolled systems can use the `--ignore` flag. 34 | - If you are already using a binary authorization system such as Googles [Santa](https://github.com/google/santa), you should use it but deploying a system like Santa only for blocking Big Sur might be unfeasible. 35 | 36 | # How 37 | 38 | The `bigsurblocker` binary is installed in `/usr/local/bin` and is launched for each user through a launch agent. This means that the binary is running in the user session and therefore has the privileges of the current user. It runs silently in the background and listens for app launch notifications. As soon as the user launches the macOS installer application, the binary (forcefully) terminates it and displays a warning message. 39 | 40 | By design, it will _not_ block the `startosinstall` command line tool. 41 | 42 | # Requirements 43 | 44 | The binary requires at least macOS 10.9, however it has been tested only on macOS 10.10, 10.11, 10.12, 10.13, 10.14 and 10.15. 45 | 46 | Note. It seems that macOS 10.10 and 10.11 have trouble installing a signed and notarized package. Use the unsigned package available from the releases page if deploying on those. The signed and notarized package can be used on macOS 10.12 and later. 47 | 48 | # Configuration 49 | 50 | All configuration is optional. If needed, the alert title and text can be set through a configuration profile. Use `com.hjuutilainen.bigsurblocker` as the domain and `AlertTitle` and `AlertText` as the keys. 51 | 52 | # Installation 53 | 54 | On macOS 10.12 and later, download a prebuilt package from the [Releases page](https://github.com/hjuutilainen/bigsurblocker/releases) and deploy with your favorite method. The package is signed and notarized. 55 | 56 | On OS X 10.11 and earlier, download and deploy an unsigned package from the [Releases page](https://github.com/hjuutilainen/bigsurblocker/releases) and deploy with your favorite method 57 | 58 | # Uninstall 59 | 60 | To fully uninstall `bigsurblocker`, run the following (as root or with sudo): 61 | 62 | ``` 63 | current_user_uid=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/UID :/ && ! /loginwindow/ { print $3 }' ) 64 | 65 | launchd_item_path="/Library/LaunchAgents/com.hjuutilainen.bigsurblocker.plist" 66 | launchctl bootout gui/${current_user_uid} "${launchd_item_path}" 67 | 68 | rm -f /Library/LaunchAgents/com.hjuutilainen.bigsurblocker.plist 69 | rm -f /usr/local/bin/bigsurblocker 70 | 71 | pkgutil --forget com.hjuutilainen.bigsurblocker 72 | ``` 73 | 74 | # License 75 | 76 | Big Sur Blocker is licensed under [the MIT License](https://github.com/hjuutilainen/bigsurblocker/blob/main/LICENSE). 77 | -------------------------------------------------------------------------------- /montereyblocker/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // montereyblocker 4 | // 5 | // bigsurblocker created by Hannes Juutilainen on 18.10.2020. 6 | // Modified for Monterey by Søren Theilgaard on 10.06.2021 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface AppDelegate : NSObject 13 | @property BOOL alertTriggered; 14 | - (BOOL)alertShowHelp:(NSAlert *)alert; 15 | @end 16 | 17 | @implementation AppDelegate 18 | 19 | - (void)applicationDidFinishLaunching:(NSNotification *)notification { 20 | self.alertTriggered = NO; 21 | 22 | NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; 23 | NSNotificationCenter *nc = [workspace notificationCenter]; 24 | 25 | NSOperationQueue *notificationQueue = [NSOperationQueue new]; 26 | 27 | // Subscribe for notifications when apps are launched 28 | [nc addObserverForName:NSWorkspaceDidLaunchApplicationNotification 29 | object:nil 30 | queue:notificationQueue 31 | usingBlock:^(NSNotification * _Nonnull note) { 32 | 33 | // Get information about the launched app 34 | NSDictionary *userInfo = [note userInfo]; 35 | NSRunningApplication *runningApp = [userInfo objectForKey:NSWorkspaceApplicationKey]; 36 | NSString *bundleID = runningApp.bundleIdentifier; 37 | 38 | // Load our user defaults suite. This will allow the alert text 39 | // to be specified with a configuration profile 40 | NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.hjuutilainen.montereyblocker"]; 41 | 42 | NSArray *bundleIDsToBlock = [userDefaults arrayForKey:@"bundleIDsToBlock"]; 43 | if (!bundleIDsToBlock) { 44 | bundleIDsToBlock = @[ 45 | @"com.apple.InstallAssistant.Monterey", 46 | @"com.apple.InstallAssistant.macOSMonterey", 47 | @"com.apple.InstallAssistant.Seed.macOS12Seed1", 48 | ]; 49 | } 50 | if ([bundleIDsToBlock containsObject:bundleID]) { 51 | NSLog(@"Detected macOS installer app launch"); 52 | 53 | // Get the localized app name 54 | NSString *appName = runningApp.localizedName; 55 | 56 | // Terminate the app 57 | NSLog(@"Terminating \"%@\", \"%@\"", appName, bundleID); 58 | 59 | // We could be polite but... 60 | [runningApp forceTerminate]; 61 | 62 | // Check if we are already displaying an alert 63 | if (self.alertTriggered) { 64 | NSLog(@"Skipping alert. Previous alert still running"); 65 | } else { 66 | self.alertTriggered = YES; 67 | 68 | // GUI must be run from main thread 69 | dispatch_async(dispatch_get_main_queue(), ^{ 70 | 71 | 72 | NSString *messageText = [userDefaults stringForKey:@"AlertTitle"]; 73 | if (!messageText) { 74 | messageText = NSLocalizedString(@"The application \"%@\" has been blocked", @""); 75 | } 76 | 77 | NSString *informativeText = [userDefaults stringForKey:@"AlertText"]; 78 | if (!informativeText) { 79 | informativeText = NSLocalizedString(@"Contact your administrator for more information", @""); 80 | } 81 | 82 | // Configure the alert 83 | NSAlert *alert = [[NSAlert alloc] init]; 84 | 85 | [alert setMessageText:[NSString stringWithFormat:messageText, appName]]; 86 | [alert setInformativeText:informativeText]; 87 | 88 | NSString *buttonTitle = [userDefaults stringForKey:@"ButtonTitle"]; 89 | if (!buttonTitle) { 90 | buttonTitle = NSLocalizedString(@"OK", @""); 91 | } 92 | [alert addButtonWithTitle:buttonTitle]; 93 | [alert setAlertStyle:NSAlertStyleWarning]; 94 | [alert setIcon:[NSImage imageNamed:NSImageNameCaution]]; 95 | 96 | // If a custom help URL is defined in defaults, enable the help button 97 | NSString *helpURLString = [userDefaults stringForKey:@"HelpURL"]; 98 | if (helpURLString) { 99 | [alert setDelegate:self]; 100 | [alert setShowsHelp:YES]; 101 | } 102 | 103 | 104 | // Show the alert above all other apps and windows 105 | [[NSApplication sharedApplication] activateIgnoringOtherApps:YES]; 106 | [[alert window] setLevel:NSStatusWindowLevel]; 107 | 108 | // Show the alert 109 | // 110 | // Note that the [alert runModal] will not return until the user dismisses the popup window 111 | [alert runModal]; 112 | 113 | // User dismissed the alert, change status to allow new ones to be displayed 114 | self.alertTriggered = NO; 115 | }); 116 | } 117 | } 118 | }]; 119 | } 120 | 121 | - (BOOL)alertShowHelp:(NSAlert *)alert 122 | { 123 | NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.hjuutilainen.montereyblocker"]; 124 | NSString *helpURLString = [userDefaults stringForKey:@"HelpURL"]; 125 | if (helpURLString) { 126 | NSURL *helpURL = [NSURL URLWithString:helpURLString]; 127 | [[NSWorkspace sharedWorkspace] openURL:helpURL]; 128 | } 129 | 130 | return YES; 131 | } 132 | 133 | @end 134 | 135 | int main(int argc, const char * argv[]) { 136 | @autoreleasepool { 137 | NSApplication *application = [NSApplication sharedApplication]; 138 | AppDelegate *delegate = [[AppDelegate alloc] init]; 139 | [application setDelegate:delegate]; 140 | [application run]; 141 | } 142 | return 0; 143 | } 144 | -------------------------------------------------------------------------------- /montereyblocker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 50; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 265C5173253C6D6700D868C4 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 265C5172253C6D6700D868C4 /* main.m */; }; 11 | /* End PBXBuildFile section */ 12 | 13 | /* Begin PBXCopyFilesBuildPhase section */ 14 | 265C516D253C6D6700D868C4 /* CopyFiles */ = { 15 | isa = PBXCopyFilesBuildPhase; 16 | buildActionMask = 2147483647; 17 | dstPath = /usr/share/man/man1/; 18 | dstSubfolderSpec = 0; 19 | files = ( 20 | ); 21 | runOnlyForDeploymentPostprocessing = 1; 22 | }; 23 | /* End PBXCopyFilesBuildPhase section */ 24 | 25 | /* Begin PBXFileReference section */ 26 | 265C516F253C6D6700D868C4 /* montereyblocker */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = montereyblocker; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | 265C5172253C6D6700D868C4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 28 | 70848CD226738155008A3EE0 /* montereyblocker.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = montereyblocker.entitlements; sourceTree = ""; }; 29 | /* End PBXFileReference section */ 30 | 31 | /* Begin PBXFrameworksBuildPhase section */ 32 | 265C516C253C6D6700D868C4 /* Frameworks */ = { 33 | isa = PBXFrameworksBuildPhase; 34 | buildActionMask = 2147483647; 35 | files = ( 36 | ); 37 | runOnlyForDeploymentPostprocessing = 0; 38 | }; 39 | /* End PBXFrameworksBuildPhase section */ 40 | 41 | /* Begin PBXGroup section */ 42 | 265C5166253C6D6700D868C4 = { 43 | isa = PBXGroup; 44 | children = ( 45 | 265C5171253C6D6700D868C4 /* montereyblocker */, 46 | 265C5170253C6D6700D868C4 /* Products */, 47 | ); 48 | sourceTree = ""; 49 | }; 50 | 265C5170253C6D6700D868C4 /* Products */ = { 51 | isa = PBXGroup; 52 | children = ( 53 | 265C516F253C6D6700D868C4 /* montereyblocker */, 54 | ); 55 | name = Products; 56 | sourceTree = ""; 57 | }; 58 | 265C5171253C6D6700D868C4 /* montereyblocker */ = { 59 | isa = PBXGroup; 60 | children = ( 61 | 70848CD226738155008A3EE0 /* montereyblocker.entitlements */, 62 | 265C5172253C6D6700D868C4 /* main.m */, 63 | ); 64 | path = montereyblocker; 65 | sourceTree = ""; 66 | }; 67 | /* End PBXGroup section */ 68 | 69 | /* Begin PBXNativeTarget section */ 70 | 265C516E253C6D6700D868C4 /* montereyblocker */ = { 71 | isa = PBXNativeTarget; 72 | buildConfigurationList = 265C5176253C6D6700D868C4 /* Build configuration list for PBXNativeTarget "montereyblocker" */; 73 | buildPhases = ( 74 | 265C516B253C6D6700D868C4 /* Sources */, 75 | 265C516C253C6D6700D868C4 /* Frameworks */, 76 | 265C516D253C6D6700D868C4 /* CopyFiles */, 77 | ); 78 | buildRules = ( 79 | ); 80 | dependencies = ( 81 | ); 82 | name = montereyblocker; 83 | productName = bigsurblocker; 84 | productReference = 265C516F253C6D6700D868C4 /* montereyblocker */; 85 | productType = "com.apple.product-type.tool"; 86 | }; 87 | /* End PBXNativeTarget section */ 88 | 89 | /* Begin PBXProject section */ 90 | 265C5167253C6D6700D868C4 /* Project object */ = { 91 | isa = PBXProject; 92 | attributes = { 93 | LastUpgradeCheck = 1250; 94 | TargetAttributes = { 95 | 265C516E253C6D6700D868C4 = { 96 | CreatedOnToolsVersion = 12.2; 97 | }; 98 | }; 99 | }; 100 | buildConfigurationList = 265C516A253C6D6700D868C4 /* Build configuration list for PBXProject "montereyblocker" */; 101 | compatibilityVersion = "Xcode 9.3"; 102 | developmentRegion = en; 103 | hasScannedForEncodings = 0; 104 | knownRegions = ( 105 | en, 106 | Base, 107 | ); 108 | mainGroup = 265C5166253C6D6700D868C4; 109 | productRefGroup = 265C5170253C6D6700D868C4 /* Products */; 110 | projectDirPath = ""; 111 | projectRoot = ""; 112 | targets = ( 113 | 265C516E253C6D6700D868C4 /* montereyblocker */, 114 | ); 115 | }; 116 | /* End PBXProject section */ 117 | 118 | /* Begin PBXSourcesBuildPhase section */ 119 | 265C516B253C6D6700D868C4 /* Sources */ = { 120 | isa = PBXSourcesBuildPhase; 121 | buildActionMask = 2147483647; 122 | files = ( 123 | 265C5173253C6D6700D868C4 /* main.m in Sources */, 124 | ); 125 | runOnlyForDeploymentPostprocessing = 0; 126 | }; 127 | /* End PBXSourcesBuildPhase section */ 128 | 129 | /* Begin XCBuildConfiguration section */ 130 | 265C5174253C6D6700D868C4 /* Debug */ = { 131 | isa = XCBuildConfiguration; 132 | buildSettings = { 133 | ALWAYS_SEARCH_USER_PATHS = NO; 134 | CLANG_ANALYZER_NONNULL = YES; 135 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 136 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 137 | CLANG_CXX_LIBRARY = "libc++"; 138 | CLANG_ENABLE_MODULES = YES; 139 | CLANG_ENABLE_OBJC_ARC = YES; 140 | CLANG_ENABLE_OBJC_WEAK = YES; 141 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 142 | CLANG_WARN_BOOL_CONVERSION = YES; 143 | CLANG_WARN_COMMA = YES; 144 | CLANG_WARN_CONSTANT_CONVERSION = YES; 145 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 146 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 147 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 148 | CLANG_WARN_EMPTY_BODY = YES; 149 | CLANG_WARN_ENUM_CONVERSION = YES; 150 | CLANG_WARN_INFINITE_RECURSION = YES; 151 | CLANG_WARN_INT_CONVERSION = YES; 152 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 153 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 154 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 155 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 156 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 157 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 158 | CLANG_WARN_STRICT_PROTOTYPES = YES; 159 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 160 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 161 | CLANG_WARN_UNREACHABLE_CODE = YES; 162 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 163 | COPY_PHASE_STRIP = NO; 164 | DEBUG_INFORMATION_FORMAT = dwarf; 165 | ENABLE_STRICT_OBJC_MSGSEND = YES; 166 | ENABLE_TESTABILITY = NO; 167 | GCC_C_LANGUAGE_STANDARD = gnu11; 168 | GCC_DYNAMIC_NO_PIC = NO; 169 | GCC_NO_COMMON_BLOCKS = YES; 170 | GCC_OPTIMIZATION_LEVEL = 0; 171 | GCC_PREPROCESSOR_DEFINITIONS = ( 172 | "DEBUG=1", 173 | "$(inherited)", 174 | ); 175 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 176 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 177 | GCC_WARN_UNDECLARED_SELECTOR = YES; 178 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 179 | GCC_WARN_UNUSED_FUNCTION = YES; 180 | GCC_WARN_UNUSED_VARIABLE = YES; 181 | MACOSX_DEPLOYMENT_TARGET = 11.0; 182 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 183 | MTL_FAST_MATH = YES; 184 | ONLY_ACTIVE_ARCH = NO; 185 | SDKROOT = macosx; 186 | }; 187 | name = Debug; 188 | }; 189 | 265C5175253C6D6700D868C4 /* Release */ = { 190 | isa = XCBuildConfiguration; 191 | buildSettings = { 192 | ALWAYS_SEARCH_USER_PATHS = NO; 193 | CLANG_ANALYZER_NONNULL = YES; 194 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 195 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 196 | CLANG_CXX_LIBRARY = "libc++"; 197 | CLANG_ENABLE_MODULES = YES; 198 | CLANG_ENABLE_OBJC_ARC = YES; 199 | CLANG_ENABLE_OBJC_WEAK = YES; 200 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 201 | CLANG_WARN_BOOL_CONVERSION = YES; 202 | CLANG_WARN_COMMA = YES; 203 | CLANG_WARN_CONSTANT_CONVERSION = YES; 204 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 205 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 206 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 207 | CLANG_WARN_EMPTY_BODY = YES; 208 | CLANG_WARN_ENUM_CONVERSION = YES; 209 | CLANG_WARN_INFINITE_RECURSION = YES; 210 | CLANG_WARN_INT_CONVERSION = YES; 211 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 212 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 213 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 214 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 215 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 216 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 217 | CLANG_WARN_STRICT_PROTOTYPES = YES; 218 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 219 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 220 | CLANG_WARN_UNREACHABLE_CODE = YES; 221 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 222 | COPY_PHASE_STRIP = NO; 223 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 224 | ENABLE_NS_ASSERTIONS = NO; 225 | ENABLE_STRICT_OBJC_MSGSEND = YES; 226 | GCC_C_LANGUAGE_STANDARD = gnu11; 227 | GCC_NO_COMMON_BLOCKS = YES; 228 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 229 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 230 | GCC_WARN_UNDECLARED_SELECTOR = YES; 231 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 232 | GCC_WARN_UNUSED_FUNCTION = YES; 233 | GCC_WARN_UNUSED_VARIABLE = YES; 234 | MACOSX_DEPLOYMENT_TARGET = 11.0; 235 | MTL_ENABLE_DEBUG_INFO = NO; 236 | MTL_FAST_MATH = YES; 237 | ONLY_ACTIVE_ARCH = NO; 238 | SDKROOT = macosx; 239 | }; 240 | name = Release; 241 | }; 242 | 265C5177253C6D6700D868C4 /* Debug */ = { 243 | isa = XCBuildConfiguration; 244 | buildSettings = { 245 | CODE_SIGN_ENTITLEMENTS = montereyblocker/montereyblocker.entitlements; 246 | CODE_SIGN_IDENTITY = "Developer ID Application: ENVO IT AS (FXW6QXBFW5)"; 247 | CODE_SIGN_STYLE = Manual; 248 | DEBUG_INFORMATION_FORMAT = dwarf; 249 | DEVELOPMENT_TEAM = FXW6QXBFW5; 250 | DSTROOT = $SRCROOT/build/pkgroot; 251 | ENABLE_HARDENED_RUNTIME = YES; 252 | MACOSX_DEPLOYMENT_TARGET = 10.11; 253 | OTHER_CODE_SIGN_FLAGS = ""; 254 | PRODUCT_BUNDLE_IDENTIFIER = "dk.envo-it.montereyblocker"; 255 | PRODUCT_NAME = "$(TARGET_NAME)"; 256 | PROVISIONING_PROFILE_SPECIFIER = ""; 257 | }; 258 | name = Debug; 259 | }; 260 | 265C5178253C6D6700D868C4 /* Release */ = { 261 | isa = XCBuildConfiguration; 262 | buildSettings = { 263 | CODE_SIGN_ENTITLEMENTS = montereyblocker/montereyblocker.entitlements; 264 | CODE_SIGN_IDENTITY = "Developer ID Application: ENVO IT AS (FXW6QXBFW5)"; 265 | CODE_SIGN_STYLE = Manual; 266 | DEVELOPMENT_TEAM = FXW6QXBFW5; 267 | DSTROOT = $SRCROOT/build/pkgroot; 268 | ENABLE_HARDENED_RUNTIME = YES; 269 | MACOSX_DEPLOYMENT_TARGET = 10.11; 270 | OTHER_CODE_SIGN_FLAGS = ""; 271 | PRODUCT_BUNDLE_IDENTIFIER = "dk.envo-it.montereyblocker"; 272 | PRODUCT_NAME = "$(TARGET_NAME)"; 273 | PROVISIONING_PROFILE_SPECIFIER = ""; 274 | }; 275 | name = Release; 276 | }; 277 | /* End XCBuildConfiguration section */ 278 | 279 | /* Begin XCConfigurationList section */ 280 | 265C516A253C6D6700D868C4 /* Build configuration list for PBXProject "montereyblocker" */ = { 281 | isa = XCConfigurationList; 282 | buildConfigurations = ( 283 | 265C5174253C6D6700D868C4 /* Debug */, 284 | 265C5175253C6D6700D868C4 /* Release */, 285 | ); 286 | defaultConfigurationIsVisible = 0; 287 | defaultConfigurationName = Release; 288 | }; 289 | 265C5176253C6D6700D868C4 /* Build configuration list for PBXNativeTarget "montereyblocker" */ = { 290 | isa = XCConfigurationList; 291 | buildConfigurations = ( 292 | 265C5177253C6D6700D868C4 /* Debug */, 293 | 265C5178253C6D6700D868C4 /* Release */, 294 | ); 295 | defaultConfigurationIsVisible = 0; 296 | defaultConfigurationName = Release; 297 | }; 298 | /* End XCConfigurationList section */ 299 | }; 300 | rootObject = 265C5167253C6D6700D868C4 /* Project object */; 301 | } 302 | --------------------------------------------------------------------------------