diff --git a/Info.plist b/Info.plist index 56b417a0..0b26f3db 100644 --- a/Info.plist +++ b/Info.plist @@ -6,22 +6,22 @@ en CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleName - ${PRODUCT_NAME} CFBundleIconFile CFBundleIdentifier - org.andymatuschak.Sparkle + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 + CFBundleName + ${PRODUCT_NAME} CFBundlePackageType FMWK + CFBundleShortVersionString + 1.5 Beta (git) CFBundleSignature ???? CFBundleVersion 1.5 - CFBundleShortVersionString - 1.5 Beta (git) NSPrincipalClass diff --git a/SandboxService.plist b/SandboxService.plist index 0eaa5ef3..6f4613c3 100644 --- a/SandboxService.plist +++ b/SandboxService.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - ${EXECUTABLE_NAME} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -22,10 +22,10 @@ 1 XPCService - ServiceType - Application JoinExistingSession + ServiceType + Application diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 4db23d2c..dc39c8a3 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -1035,7 +1035,7 @@ 0867D690FE84028FC02AAC07 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0610; + LastUpgradeCheck = 0700; TargetAttributes = { 61B5F90109C4CEE200B25A18 = { SystemCapabilities = { @@ -1560,6 +1560,7 @@ buildSettings = { COMBINE_HIDPI_IMAGES = YES; INSTALL_PATH = "@rpath"; + PRODUCT_BUNDLE_IDENTIFIER = org.andymatuschak.Sparkle; SKIP_INSTALL = YES; }; name = Debug; @@ -1571,6 +1572,7 @@ COMBINE_HIDPI_IMAGES = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INSTALL_PATH = "@rpath"; + PRODUCT_BUNDLE_IDENTIFIER = org.andymatuschak.Sparkle; SKIP_INSTALL = YES; }; name = Release; @@ -1578,6 +1580,7 @@ 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ENABLE_TESTABILITY = YES; ONLY_ACTIVE_ARCH = YES; }; name = Debug; @@ -1608,6 +1611,7 @@ "-framework", AppKit, ); + PRODUCT_BUNDLE_IDENTIFIER = "org.andymatuschak.sparkle.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = finish_installation; }; name = Debug; @@ -1631,6 +1635,7 @@ "-framework", AppKit, ); + PRODUCT_BUNDLE_IDENTIFIER = "org.andymatuschak.sparkle.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = finish_installation; ZERO_LINK = NO; }; @@ -1655,6 +1660,7 @@ baseConfigurationReference = FA3AAF3A1050B273004B3130 /* ConfigUnitTestDebug.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:identifier}"; }; name = Debug; }; @@ -1663,6 +1669,7 @@ baseConfigurationReference = FA3AAF391050B273004B3130 /* ConfigUnitTestRelease.xcconfig */; buildSettings = { COMBINE_HIDPI_IMAGES = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:identifier}"; }; name = Release; }; @@ -1673,6 +1680,7 @@ CODE_SIGN_ENTITLEMENTS = "Sparkle Test App.entitlements"; CODE_SIGN_IDENTITY = "Developer ID Application"; COMBINE_HIDPI_IMAGES = YES; + PRODUCT_BUNDLE_IDENTIFIER = org.andymatuschak.SparkleTestApp; }; name = Debug; }; @@ -1683,6 +1691,7 @@ CODE_SIGN_ENTITLEMENTS = "Sparkle Test App.entitlements"; CODE_SIGN_IDENTITY = "Developer ID Application"; COMBINE_HIDPI_IMAGES = YES; + PRODUCT_BUNDLE_IDENTIFIER = org.andymatuschak.SparkleTestApp; }; name = Release; }; @@ -1694,6 +1703,7 @@ GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; OTHER_CFLAGS = "-DDEBUG"; + PRODUCT_BUNDLE_IDENTIFIER = "${EXECUTABLE_NAME}"; VALID_ARCHS = x86_64; }; name = Debug; @@ -1705,6 +1715,7 @@ COMBINE_HIDPI_IMAGES = YES; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = SandboxService.plist; + PRODUCT_BUNDLE_IDENTIFIER = "${EXECUTABLE_NAME}"; VALID_ARCHS = x86_64; }; name = Release; diff --git a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme index ca315116..9eb7ffa9 100644 --- a/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme +++ b/Sparkle.xcodeproj/xcshareddata/xcschemes/Sparkle (Debug).xcscheme @@ -1,6 +1,6 @@ + + + + + + diff --git a/Test Application/Test Application-Info.plist b/Test Application/Test Application-Info.plist index 6cb773f6..c79666e1 100644 --- a/Test Application/Test Application-Info.plist +++ b/Test Application/Test Application-Info.plist @@ -8,12 +8,12 @@ ${EXECUTABLE_NAME} CFBundleIconFile Sparkle - CFBundleName - Sparkle Test App CFBundleIdentifier - org.andymatuschak.SparkleTestApp + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 + CFBundleName + Sparkle Test App CFBundlePackageType APPL CFBundleSignature @@ -24,10 +24,10 @@ MainMenu NSPrincipalClass NSApplication - SUFeedURL - http://www.andymatuschak.org/files/sparkletestcast.xml SUEnableSystemProfiling + SUFeedURL + http://www.andymatuschak.org/files/sparkletestcast.xml SUPublicDSAKeyFile dsa_pub.pem diff --git a/Tests/Sparkle Unit Tests-Info.plist b/Tests/Sparkle Unit Tests-Info.plist index 65013556..460a7d93 100644 --- a/Tests/Sparkle Unit Tests-Info.plist +++ b/Tests/Sparkle Unit Tests-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.yourcompany.${PRODUCT_NAME:identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType diff --git a/finish_installation-Info.plist b/finish_installation-Info.plist index 966f0a34..c655fb50 100644 --- a/finish_installation-Info.plist +++ b/finish_installation-Info.plist @@ -9,7 +9,7 @@ CFBundleIconFile Sparkle CFBundleIdentifier - org.andymatuschak.sparkle.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType