├── .github └── FUNDING.yml ├── screenshot.jpg ├── .gitignore ├── bigsurblocker-munkipkg ├── scripts │ └── postinstall ├── build-info.json └── payload │ └── Library │ └── LaunchAgents │ └── com.hjuutilainen.bigsurblocker.plist ├── LICENSE ├── README.md ├── bigsurblocker └── main.m └── bigsurblocker.xcodeproj └── project.pbxproj /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: "https://www.buymeacoffee.com/hjuutilainen" 2 | -------------------------------------------------------------------------------- /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hjuutilainen/bigsurblocker/HEAD/screenshot.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pkg 2 | .DS_Store 3 | build 4 | /bigsurblocker-munkipkg/payload/usr/local/bin/bigsurblocker 5 | -------------------------------------------------------------------------------- /bigsurblocker-munkipkg/scripts/postinstall: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ $3 != "/" ]]; then 4 | exit 0 5 | fi 6 | 7 | launchd_item_path="/Library/LaunchAgents/com.hjuutilainen.bigsurblocker.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 | -------------------------------------------------------------------------------- /bigsurblocker-munkipkg/build-info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bigsurblocker-${version}.pkg", 3 | "version": "20201111", 4 | "identifier": "com.hjuutilainen.bigsurblocker", 5 | "postinstall_action": "none", 6 | "suppress_bundle_relocation": true, 7 | "distribution_style": false, 8 | "install_location": "/", 9 | "ownership": "recommended", 10 | "signing_info": { 11 | "identity": "Developer ID Installer: Hannes Juutilainen (8XXWJ76X9Y)", 12 | "timestamp": true 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /bigsurblocker-munkipkg/payload/Library/LaunchAgents/com.hjuutilainen.bigsurblocker.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Label 6 | com.hjuutilainen.bigsurblocker 7 | ProgramArguments 8 | 9 | /usr/local/bin/bigsurblocker 10 | 11 | RunAtLoad 12 | 13 | KeepAlive 14 | 15 | LimitLoadToSessionType 16 | Aqua 17 | 18 | 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Big Sur Blocker 2 | 3 | Detect when `Install macOS Big Sur.app` installer application has launched, terminate the process and display an alert. 4 | 5 | ![bigsurblocker](https://raw.githubusercontent.com/hjuutilainen/bigsurblocker/main/screenshot.jpg) 6 | 7 | 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. 8 | 9 | # Why 10 | 11 | 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: 12 | - 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. 13 | - 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. 14 | - 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. 15 | 16 | # How 17 | 18 | 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. 19 | 20 | By design, it will _not_ block the `startosinstall` command line tool. 21 | 22 | # Requirements 23 | 24 | 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. 25 | 26 | 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. 27 | 28 | # Configuration 29 | 30 | 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. 31 | 32 | # Installation 33 | 34 | 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. 35 | 36 | 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 37 | 38 | # Uninstall 39 | 40 | To fully uninstall `bigsurblocker`, run the following (as root or with sudo): 41 | 42 | ``` 43 | current_user_uid=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/UID :/ && ! /loginwindow/ { print $3 }' ) 44 | 45 | launchd_item_path="/Library/LaunchAgents/com.hjuutilainen.bigsurblocker.plist" 46 | launchctl bootout gui/${current_user_uid} "${launchd_item_path}" 47 | 48 | rm -f /Library/LaunchAgents/com.hjuutilainen.bigsurblocker.plist 49 | rm -f /usr/local/bin/bigsurblocker 50 | 51 | pkgutil --forget com.hjuutilainen.bigsurblocker 52 | ``` 53 | 54 | # License 55 | 56 | Big Sur Blocker is licensed under [the MIT License](https://github.com/hjuutilainen/bigsurblocker/blob/main/LICENSE). 57 | -------------------------------------------------------------------------------- /bigsurblocker/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // bigsurblocker 4 | // 5 | // Created by Hannes Juutilainen on 18.10.2020. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : NSObject 12 | @property BOOL alertTriggered; 13 | - (BOOL)alertShowHelp:(NSAlert *)alert; 14 | @end 15 | 16 | @implementation AppDelegate 17 | 18 | - (void)applicationDidFinishLaunching:(NSNotification *)notification { 19 | self.alertTriggered = NO; 20 | 21 | NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; 22 | NSNotificationCenter *nc = [workspace notificationCenter]; 23 | 24 | NSOperationQueue *notificationQueue = [NSOperationQueue new]; 25 | 26 | // Subscribe for notifications when apps are launched 27 | [nc addObserverForName:NSWorkspaceDidLaunchApplicationNotification 28 | object:nil 29 | queue:notificationQueue 30 | usingBlock:^(NSNotification * _Nonnull note) { 31 | 32 | // Get information about the launched app 33 | NSDictionary *userInfo = [note userInfo]; 34 | NSRunningApplication *runningApp = [userInfo objectForKey:NSWorkspaceApplicationKey]; 35 | NSString *bundleID = runningApp.bundleIdentifier; 36 | 37 | // Load our user defaults suite. This will allow the alert text 38 | // to be specified with a configuration profile 39 | NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.hjuutilainen.bigsurblocker"]; 40 | 41 | NSArray *bundleIDsToBlock = [userDefaults arrayForKey:@"bundleIDsToBlock"]; 42 | if (!bundleIDsToBlock) { 43 | bundleIDsToBlock = @[ 44 | @"com.apple.InstallAssistant.BigSur", 45 | @"com.apple.InstallAssistant.macOSBigSur", 46 | @"com.apple.InstallAssistant.Seed.macOS1016Seed1", 47 | ]; 48 | } 49 | if ([bundleIDsToBlock containsObject:bundleID]) { 50 | NSLog(@"Detected macOS installer app launch"); 51 | 52 | // Get the localized app name 53 | NSString *appName = runningApp.localizedName; 54 | 55 | // Terminate the app 56 | NSLog(@"Terminating \"%@\", \"%@\"", appName, bundleID); 57 | 58 | // We could be polite but... 59 | [runningApp forceTerminate]; 60 | 61 | // Check if we are already displaying an alert 62 | if (self.alertTriggered) { 63 | NSLog(@"Skipping alert. Previous alert still running"); 64 | } else { 65 | self.alertTriggered = YES; 66 | 67 | // GUI must be run from main thread 68 | dispatch_async(dispatch_get_main_queue(), ^{ 69 | 70 | 71 | NSString *messageText = [userDefaults stringForKey:@"AlertTitle"]; 72 | if (!messageText) { 73 | messageText = NSLocalizedString(@"The application \"%@\" has been blocked", @""); 74 | } 75 | 76 | NSString *informativeText = [userDefaults stringForKey:@"AlertText"]; 77 | if (!informativeText) { 78 | informativeText = NSLocalizedString(@"Contact your administrator for more information", @""); 79 | } 80 | 81 | // Configure the alert 82 | NSAlert *alert = [[NSAlert alloc] init]; 83 | 84 | [alert setMessageText:[NSString stringWithFormat:messageText, appName]]; 85 | [alert setInformativeText:informativeText]; 86 | 87 | NSString *buttonTitle = [userDefaults stringForKey:@"ButtonTitle"]; 88 | if (!buttonTitle) { 89 | buttonTitle = NSLocalizedString(@"OK", @""); 90 | } 91 | [alert addButtonWithTitle:buttonTitle]; 92 | [alert setAlertStyle:NSAlertStyleWarning]; 93 | [alert setIcon:[NSImage imageNamed:NSImageNameCaution]]; 94 | 95 | // If a custom help URL is defined in defaults, enable the help button 96 | NSString *helpURLString = [userDefaults stringForKey:@"HelpURL"]; 97 | if (helpURLString) { 98 | [alert setDelegate:self]; 99 | [alert setShowsHelp:YES]; 100 | } 101 | 102 | 103 | // Show the alert above all other apps and windows 104 | [[NSApplication sharedApplication] activateIgnoringOtherApps:YES]; 105 | [[alert window] setLevel:NSStatusWindowLevel]; 106 | 107 | // Show the alert 108 | // 109 | // Note that the [alert runModal] will not return until the user dismisses the popup window 110 | [alert runModal]; 111 | 112 | // User dismissed the alert, change status to allow new ones to be displayed 113 | self.alertTriggered = NO; 114 | }); 115 | } 116 | } 117 | }]; 118 | } 119 | 120 | - (BOOL)alertShowHelp:(NSAlert *)alert 121 | { 122 | NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"com.hjuutilainen.bigsurblocker"]; 123 | NSString *helpURLString = [userDefaults stringForKey:@"HelpURL"]; 124 | if (helpURLString) { 125 | NSURL *helpURL = [NSURL URLWithString:helpURLString]; 126 | [[NSWorkspace sharedWorkspace] openURL:helpURL]; 127 | } 128 | 129 | return YES; 130 | } 131 | 132 | @end 133 | 134 | int main(int argc, const char * argv[]) { 135 | @autoreleasepool { 136 | NSApplication *application = [NSApplication sharedApplication]; 137 | AppDelegate *delegate = [[AppDelegate alloc] init]; 138 | [application setDelegate:delegate]; 139 | [application run]; 140 | } 141 | return 0; 142 | } 143 | -------------------------------------------------------------------------------- /bigsurblocker.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 /* bigsurblocker */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = bigsurblocker; sourceTree = BUILT_PRODUCTS_DIR; }; 27 | 265C5172253C6D6700D868C4 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 28 | /* End PBXFileReference section */ 29 | 30 | /* Begin PBXFrameworksBuildPhase section */ 31 | 265C516C253C6D6700D868C4 /* Frameworks */ = { 32 | isa = PBXFrameworksBuildPhase; 33 | buildActionMask = 2147483647; 34 | files = ( 35 | ); 36 | runOnlyForDeploymentPostprocessing = 0; 37 | }; 38 | /* End PBXFrameworksBuildPhase section */ 39 | 40 | /* Begin PBXGroup section */ 41 | 265C5166253C6D6700D868C4 = { 42 | isa = PBXGroup; 43 | children = ( 44 | 265C5171253C6D6700D868C4 /* bigsurblocker */, 45 | 265C5170253C6D6700D868C4 /* Products */, 46 | ); 47 | sourceTree = ""; 48 | }; 49 | 265C5170253C6D6700D868C4 /* Products */ = { 50 | isa = PBXGroup; 51 | children = ( 52 | 265C516F253C6D6700D868C4 /* bigsurblocker */, 53 | ); 54 | name = Products; 55 | sourceTree = ""; 56 | }; 57 | 265C5171253C6D6700D868C4 /* bigsurblocker */ = { 58 | isa = PBXGroup; 59 | children = ( 60 | 265C5172253C6D6700D868C4 /* main.m */, 61 | ); 62 | path = bigsurblocker; 63 | sourceTree = ""; 64 | }; 65 | /* End PBXGroup section */ 66 | 67 | /* Begin PBXNativeTarget section */ 68 | 265C516E253C6D6700D868C4 /* bigsurblocker */ = { 69 | isa = PBXNativeTarget; 70 | buildConfigurationList = 265C5176253C6D6700D868C4 /* Build configuration list for PBXNativeTarget "bigsurblocker" */; 71 | buildPhases = ( 72 | 265C516B253C6D6700D868C4 /* Sources */, 73 | 265C516C253C6D6700D868C4 /* Frameworks */, 74 | 265C516D253C6D6700D868C4 /* CopyFiles */, 75 | ); 76 | buildRules = ( 77 | ); 78 | dependencies = ( 79 | ); 80 | name = bigsurblocker; 81 | productName = bigsurblocker; 82 | productReference = 265C516F253C6D6700D868C4 /* bigsurblocker */; 83 | productType = "com.apple.product-type.tool"; 84 | }; 85 | /* End PBXNativeTarget section */ 86 | 87 | /* Begin PBXProject section */ 88 | 265C5167253C6D6700D868C4 /* Project object */ = { 89 | isa = PBXProject; 90 | attributes = { 91 | LastUpgradeCheck = 1220; 92 | TargetAttributes = { 93 | 265C516E253C6D6700D868C4 = { 94 | CreatedOnToolsVersion = 12.2; 95 | }; 96 | }; 97 | }; 98 | buildConfigurationList = 265C516A253C6D6700D868C4 /* Build configuration list for PBXProject "bigsurblocker" */; 99 | compatibilityVersion = "Xcode 9.3"; 100 | developmentRegion = en; 101 | hasScannedForEncodings = 0; 102 | knownRegions = ( 103 | en, 104 | Base, 105 | ); 106 | mainGroup = 265C5166253C6D6700D868C4; 107 | productRefGroup = 265C5170253C6D6700D868C4 /* Products */; 108 | projectDirPath = ""; 109 | projectRoot = ""; 110 | targets = ( 111 | 265C516E253C6D6700D868C4 /* bigsurblocker */, 112 | ); 113 | }; 114 | /* End PBXProject section */ 115 | 116 | /* Begin PBXSourcesBuildPhase section */ 117 | 265C516B253C6D6700D868C4 /* Sources */ = { 118 | isa = PBXSourcesBuildPhase; 119 | buildActionMask = 2147483647; 120 | files = ( 121 | 265C5173253C6D6700D868C4 /* main.m in Sources */, 122 | ); 123 | runOnlyForDeploymentPostprocessing = 0; 124 | }; 125 | /* End PBXSourcesBuildPhase section */ 126 | 127 | /* Begin XCBuildConfiguration section */ 128 | 265C5174253C6D6700D868C4 /* Debug */ = { 129 | isa = XCBuildConfiguration; 130 | buildSettings = { 131 | ALWAYS_SEARCH_USER_PATHS = NO; 132 | CLANG_ANALYZER_NONNULL = YES; 133 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 134 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 135 | CLANG_CXX_LIBRARY = "libc++"; 136 | CLANG_ENABLE_MODULES = YES; 137 | CLANG_ENABLE_OBJC_ARC = YES; 138 | CLANG_ENABLE_OBJC_WEAK = YES; 139 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 140 | CLANG_WARN_BOOL_CONVERSION = YES; 141 | CLANG_WARN_COMMA = YES; 142 | CLANG_WARN_CONSTANT_CONVERSION = YES; 143 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 144 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 145 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 146 | CLANG_WARN_EMPTY_BODY = YES; 147 | CLANG_WARN_ENUM_CONVERSION = YES; 148 | CLANG_WARN_INFINITE_RECURSION = YES; 149 | CLANG_WARN_INT_CONVERSION = YES; 150 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 151 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 152 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 153 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 154 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 155 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 156 | CLANG_WARN_STRICT_PROTOTYPES = YES; 157 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 158 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 159 | CLANG_WARN_UNREACHABLE_CODE = YES; 160 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 161 | COPY_PHASE_STRIP = NO; 162 | DEBUG_INFORMATION_FORMAT = dwarf; 163 | ENABLE_STRICT_OBJC_MSGSEND = YES; 164 | ENABLE_TESTABILITY = YES; 165 | GCC_C_LANGUAGE_STANDARD = gnu11; 166 | GCC_DYNAMIC_NO_PIC = NO; 167 | GCC_NO_COMMON_BLOCKS = YES; 168 | GCC_OPTIMIZATION_LEVEL = 0; 169 | GCC_PREPROCESSOR_DEFINITIONS = ( 170 | "DEBUG=1", 171 | "$(inherited)", 172 | ); 173 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 174 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 175 | GCC_WARN_UNDECLARED_SELECTOR = YES; 176 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 177 | GCC_WARN_UNUSED_FUNCTION = YES; 178 | GCC_WARN_UNUSED_VARIABLE = YES; 179 | MACOSX_DEPLOYMENT_TARGET = 11.0; 180 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 181 | MTL_FAST_MATH = YES; 182 | ONLY_ACTIVE_ARCH = YES; 183 | SDKROOT = macosx; 184 | }; 185 | name = Debug; 186 | }; 187 | 265C5175253C6D6700D868C4 /* Release */ = { 188 | isa = XCBuildConfiguration; 189 | buildSettings = { 190 | ALWAYS_SEARCH_USER_PATHS = NO; 191 | CLANG_ANALYZER_NONNULL = YES; 192 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 193 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 194 | CLANG_CXX_LIBRARY = "libc++"; 195 | CLANG_ENABLE_MODULES = YES; 196 | CLANG_ENABLE_OBJC_ARC = YES; 197 | CLANG_ENABLE_OBJC_WEAK = YES; 198 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 199 | CLANG_WARN_BOOL_CONVERSION = YES; 200 | CLANG_WARN_COMMA = YES; 201 | CLANG_WARN_CONSTANT_CONVERSION = YES; 202 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 203 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 204 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 205 | CLANG_WARN_EMPTY_BODY = YES; 206 | CLANG_WARN_ENUM_CONVERSION = YES; 207 | CLANG_WARN_INFINITE_RECURSION = YES; 208 | CLANG_WARN_INT_CONVERSION = YES; 209 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 210 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 211 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 212 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 213 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 214 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 215 | CLANG_WARN_STRICT_PROTOTYPES = YES; 216 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 217 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 218 | CLANG_WARN_UNREACHABLE_CODE = YES; 219 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 220 | COPY_PHASE_STRIP = NO; 221 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 222 | ENABLE_NS_ASSERTIONS = NO; 223 | ENABLE_STRICT_OBJC_MSGSEND = YES; 224 | GCC_C_LANGUAGE_STANDARD = gnu11; 225 | GCC_NO_COMMON_BLOCKS = YES; 226 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 227 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 228 | GCC_WARN_UNDECLARED_SELECTOR = YES; 229 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 230 | GCC_WARN_UNUSED_FUNCTION = YES; 231 | GCC_WARN_UNUSED_VARIABLE = YES; 232 | MACOSX_DEPLOYMENT_TARGET = 11.0; 233 | MTL_ENABLE_DEBUG_INFO = NO; 234 | MTL_FAST_MATH = YES; 235 | SDKROOT = macosx; 236 | }; 237 | name = Release; 238 | }; 239 | 265C5177253C6D6700D868C4 /* Debug */ = { 240 | isa = XCBuildConfiguration; 241 | buildSettings = { 242 | CODE_SIGN_IDENTITY = "Developer ID Application"; 243 | CODE_SIGN_STYLE = Manual; 244 | DEVELOPMENT_TEAM = 8XXWJ76X9Y; 245 | DSTROOT = $SRCROOT/build/pkgroot; 246 | ENABLE_HARDENED_RUNTIME = YES; 247 | MACOSX_DEPLOYMENT_TARGET = 10.9; 248 | PRODUCT_BUNDLE_IDENTIFIER = com.hjuutilainen.bigsurblocker; 249 | PRODUCT_NAME = "$(TARGET_NAME)"; 250 | PROVISIONING_PROFILE_SPECIFIER = ""; 251 | }; 252 | name = Debug; 253 | }; 254 | 265C5178253C6D6700D868C4 /* Release */ = { 255 | isa = XCBuildConfiguration; 256 | buildSettings = { 257 | CODE_SIGN_IDENTITY = "Developer ID Application"; 258 | CODE_SIGN_STYLE = Manual; 259 | DEVELOPMENT_TEAM = 8XXWJ76X9Y; 260 | DSTROOT = $SRCROOT/build/pkgroot; 261 | ENABLE_HARDENED_RUNTIME = YES; 262 | MACOSX_DEPLOYMENT_TARGET = 10.9; 263 | PRODUCT_BUNDLE_IDENTIFIER = com.hjuutilainen.bigsurblocker; 264 | PRODUCT_NAME = "$(TARGET_NAME)"; 265 | PROVISIONING_PROFILE_SPECIFIER = ""; 266 | }; 267 | name = Release; 268 | }; 269 | /* End XCBuildConfiguration section */ 270 | 271 | /* Begin XCConfigurationList section */ 272 | 265C516A253C6D6700D868C4 /* Build configuration list for PBXProject "bigsurblocker" */ = { 273 | isa = XCConfigurationList; 274 | buildConfigurations = ( 275 | 265C5174253C6D6700D868C4 /* Debug */, 276 | 265C5175253C6D6700D868C4 /* Release */, 277 | ); 278 | defaultConfigurationIsVisible = 0; 279 | defaultConfigurationName = Release; 280 | }; 281 | 265C5176253C6D6700D868C4 /* Build configuration list for PBXNativeTarget "bigsurblocker" */ = { 282 | isa = XCConfigurationList; 283 | buildConfigurations = ( 284 | 265C5177253C6D6700D868C4 /* Debug */, 285 | 265C5178253C6D6700D868C4 /* Release */, 286 | ); 287 | defaultConfigurationIsVisible = 0; 288 | defaultConfigurationName = Release; 289 | }; 290 | /* End XCConfigurationList section */ 291 | }; 292 | rootObject = 265C5167253C6D6700D868C4 /* Project object */; 293 | } 294 | --------------------------------------------------------------------------------