diff --git a/BeaconOSX.xcodeproj/project.pbxproj b/BeaconOSX.xcodeproj/project.pbxproj index a9718cd..939fa75 100644 --- a/BeaconOSX.xcodeproj/project.pbxproj +++ b/BeaconOSX.xcodeproj/project.pbxproj @@ -404,8 +404,9 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "BeaconOSX/BeaconOSX-Prefix.pch"; INFOPLIST_FILE = "BeaconOSX/BeaconOSX-Info.plist"; + MACOSX_DEPLOYMENT_TARGET = 10.11; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.9; + SDKROOT = macosx10.11; WRAPPER_EXTENSION = app; }; name = Debug; @@ -418,8 +419,9 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "BeaconOSX/BeaconOSX-Prefix.pch"; INFOPLIST_FILE = "BeaconOSX/BeaconOSX-Info.plist"; + MACOSX_DEPLOYMENT_TARGET = 10.11; PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = macosx10.9; + SDKROOT = macosx10.11; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/BeaconOSX/BLCAppDelegate.m b/BeaconOSX/BLCAppDelegate.m index 4fa0d78..94dcb89 100644 --- a/BeaconOSX/BLCAppDelegate.m +++ b/BeaconOSX/BLCAppDelegate.m @@ -71,12 +71,12 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { NSInteger major = [[version objectAtIndex:0] integerValue]; NSInteger minor = [[version objectAtIndex:1] integerValue]; - if (major == 10 && minor != 9) { + if (major == 10 && minor < 9) { NSAlert* alert = [NSAlert alertWithMessageText:@"Unsupported OS" defaultButton:@"OK" alternateButton:nil otherButton:nil - informativeTextWithFormat:@"BeaconOSX requires OS X Mavericks!!!\n\nBeaconOSX does NOT work with versions of OS X before or after Mavericks, e.g. Yosemite"]; + informativeTextWithFormat:@"BeaconOSX requires OS X Mavericks!!!\n\nBeaconOSX does NOT work with versions of OS X before Mavericks"]; [alert beginSheetModalForWindow:self.window completionHandler:^(NSModalResponse returnCode) { exit(-1);