diff --git a/BuildNotices.txt b/BuildNotices.txt index 5dfc238..84472c4 100644 --- a/BuildNotices.txt +++ b/BuildNotices.txt @@ -25,19 +25,19 @@ Sign the pane: codesign -v -f -s "Developer ID Application: Your Name (ABCDEFG1234)" Hosts.prefPane Build Package (pane in folder "build"): -pkgbuild --root build --identifier "nl.your-domain.hosts" --version "1.4.4" --install-location "/Library/PreferencePanes" --sign "Developer ID Installer: Your Name (ABCDEFG1234)" Hosts-PrefPane-1.4.4.pkg +pkgbuild --root build --identifier "nl.your-domain.hosts" --version "1.4.5" --install-location "/Library/PreferencePanes" --sign "Developer ID Installer: Your Name (ABCDEFG1234)" Hosts-PrefPane-1.4.5.pkg To certify the installer, you need your ProviderShortname. For this, you have to give altool its app-specific password: xcrun altool --list-providers -u "your.name@your-domain.nl" -p "@keychain:Developer-altool" Certify package: -xcrun altool --notarize-app --primary-bundle-id "nl.your-domain.hosts" --username "your.name@your-domain.nl" --password "@keychain:Developer-altool" --asc-provider "YourName123456" --file "Hosts-PrefPane-1.4.4.pkg" +xcrun altool --notarize-app --primary-bundle-id "nl.your-domain.hosts" --username "your.name@your-domain.nl" --password "@keychain:Developer-altool" --asc-provider "YourName123456" --file "Hosts-PrefPane-1.4.5.pkg" Wait, check status: xcrun altool --notarization-info "YourRequestUUID" --username "your.name@your-domain.nl" --password "@keychain:Developer-altool" Staple notarization ticket to package for offline installation: -xcrun stapler staple Hosts-PrefPane-1.4.4.pkg +xcrun stapler staple Hosts-PrefPane-1.4.5.pkg Issue with Check Box disabling: diff --git a/Hosts.xcodeproj/project.pbxproj b/Hosts.xcodeproj/project.pbxproj index 0b29077..d53622b 100644 --- a/Hosts.xcodeproj/project.pbxproj +++ b/Hosts.xcodeproj/project.pbxproj @@ -451,7 +451,7 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1130; + LastUpgradeCheck = 1200; TargetAttributes = { 8D1107260486CEB800E47090 = { DevelopmentTeam = PZV4XW8XL7; @@ -652,7 +652,7 @@ CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 8; + CURRENT_PROJECT_VERSION = 10; DEBUG_INFORMATION_FORMAT = dwarf; DEPLOYMENT_POSTPROCESSING = NO; DEVELOPMENT_TEAM = PZV4XW8XL7; @@ -668,7 +668,7 @@ HEADER_SEARCH_PATHS = $SRCROOT; INFOPLIST_FILE = "Hosts-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; - MARKETING_VERSION = 1.4.4; + MARKETING_VERSION = 1.4.5; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "de.dirk-froehling.hosts"; PRODUCT_NAME = Hosts; @@ -683,7 +683,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = "Mac Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 8; + CURRENT_PROJECT_VERSION = 10; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEPLOYMENT_POSTPROCESSING = NO; DEVELOPMENT_TEAM = PZV4XW8XL7; @@ -693,7 +693,7 @@ HEADER_SEARCH_PATHS = $SRCROOT; INFOPLIST_FILE = "Hosts-Info.plist"; MACOSX_DEPLOYMENT_TARGET = 10.8; - MARKETING_VERSION = 1.4.4; + MARKETING_VERSION = 1.4.5; ONLY_ACTIVE_ARCH = YES; OTHER_LDFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = "de.dirk-froehling.hosts"; @@ -707,7 +707,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ENABLE_OBJC_ARC = NO; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; @@ -721,6 +721,7 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -755,7 +756,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; CLANG_ENABLE_OBJC_ARC = NO; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; @@ -769,6 +770,7 @@ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -827,7 +829,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = "Mac Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 8; + CURRENT_PROJECT_VERSION = 10; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = PZV4XW8XL7; GCC_DYNAMIC_NO_PIC = NO; @@ -845,7 +847,7 @@ INFOPLIST_FILE = "HostsPrefpane/HostsPrefpane-Info.plist"; INSTALL_PATH = "$(HOME)/Library/PreferencePanes"; MACOSX_DEPLOYMENT_TARGET = 10.8; - MARKETING_VERSION = 1.4.4; + MARKETING_VERSION = 1.4.5; PRODUCT_BUNDLE_IDENTIFIER = "de.dirk-froehling.hosts"; PRODUCT_NAME = Hosts; PROVISIONING_PROFILE = ""; @@ -861,7 +863,7 @@ CLANG_ENABLE_OBJC_WEAK = YES; CODE_SIGN_IDENTITY = "Mac Developer"; COPY_PHASE_STRIP = YES; - CURRENT_PROJECT_VERSION = 8; + CURRENT_PROJECT_VERSION = 10; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = PZV4XW8XL7; GCC_ENABLE_OBJC_EXCEPTIONS = YES; @@ -873,7 +875,7 @@ INFOPLIST_FILE = "HostsPrefpane/HostsPrefpane-Info.plist"; INSTALL_PATH = "$(HOME)/Library/PreferencePanes"; MACOSX_DEPLOYMENT_TARGET = 10.8; - MARKETING_VERSION = 1.4.4; + MARKETING_VERSION = 1.4.5; ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = "de.dirk-froehling.hosts"; PRODUCT_NAME = Hosts; diff --git a/Hosts.xcodeproj/xcshareddata/xcschemes/HostsApp.xcscheme b/Hosts.xcodeproj/xcshareddata/xcschemes/HostsApp.xcscheme index e5e4d1c..640ff91 100644 --- a/Hosts.xcodeproj/xcshareddata/xcschemes/HostsApp.xcscheme +++ b/Hosts.xcodeproj/xcshareddata/xcschemes/HostsApp.xcscheme @@ -1,6 +1,6 @@ - - - - - - - - linenumber, error->token, error->error]; - NSInteger choice = NSRunAlertPanel(windowTitle, @"%@", errorString, NSLocalizedString(@"No", nil), nil, NSLocalizedString(@"Yes", nil)); - if (choice == NSAlertDefaultReturn) { + NSAlert *alert = [NSAlert + alertWithMessageText:windowTitle + defaultButton:[myBundle localizedStringForKey:@"Yes" value:@"" table:nil] + alternateButton:[myBundle localizedStringForKey:@"No" value:@"" table:nil] + otherButton:nil + informativeTextWithFormat:@"%@", errorString]; + + if ([alert runModal] == NSModalResponseCancel) { [[NSApplication sharedApplication] terminate:nil]; } }