diff --git a/Configurations/ConfigRelaunch.xcconfig b/Configurations/ConfigRelaunch.xcconfig index b14bd24d..22507036 100644 --- a/Configurations/ConfigRelaunch.xcconfig +++ b/Configurations/ConfigRelaunch.xcconfig @@ -4,3 +4,4 @@ INFOPLIST_FILE = Sparkle/Autoupdate/Autoupdate-Info.plist PRODUCT_NAME = $(FINISH_INSTALL_TOOL_NAME) SKIP_INSTALL = YES GCC_PREFIX_HEADER = Sparkle/Autoupdate/Autoupdate.pch +ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon diff --git a/Configurations/ConfigTestApp.xcconfig b/Configurations/ConfigTestApp.xcconfig index 97549283..16057d7c 100644 --- a/Configurations/ConfigTestApp.xcconfig +++ b/Configurations/ConfigTestApp.xcconfig @@ -3,3 +3,4 @@ INFOPLIST_FILE = TestApplication/TestApplication-Info.plist PRODUCT_NAME = Sparkle Test App WRAPPER_EXTENSION = app +ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon diff --git a/Resources/Images.xcassets/AppIcon.appiconset/Contents.json b/Resources/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..5ddf68b4 --- /dev/null +++ b/Resources/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,65 @@ +{ + "images" : [ + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16.png", + "scale" : "1x" + }, + { + "size" : "16x16", + "idiom" : "mac", + "filename" : "icon_16x16@2x.png", + "scale" : "2x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32.png", + "scale" : "1x" + }, + { + "size" : "32x32", + "idiom" : "mac", + "filename" : "icon_32x32@2x.png", + "scale" : "2x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128.png", + "scale" : "1x" + }, + { + "size" : "128x128", + "idiom" : "mac", + "filename" : "icon_128x128@2x.png", + "scale" : "2x" + }, + { + "size" : "256x256", + "idiom" : "mac", + "filename" : "icon_256x256.png", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png new file mode 100644 index 00000000..cab9bc5a Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png new file mode 100644 index 00000000..ea89c060 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_128x128@2x.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png new file mode 100644 index 00000000..dea3255c Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png new file mode 100644 index 00000000..0e7f543e Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_16x16@2x.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png new file mode 100644 index 00000000..b4a17b8d Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_256x256.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png new file mode 100644 index 00000000..77e8fde5 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32.png differ diff --git a/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png new file mode 100644 index 00000000..a3f6f789 Binary files /dev/null and b/Resources/Images.xcassets/AppIcon.appiconset/icon_32x32@2x.png differ diff --git a/Resources/Sparkle.icns b/Resources/Sparkle.icns deleted file mode 100644 index 8e56d45c..00000000 Binary files a/Resources/Sparkle.icns and /dev/null differ diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 5b0c30f3..947c69bc 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -25,7 +25,8 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 14732BBD1960F03B00593899 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; + 1420DE301962082C00203BB0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1420DE2F1962082C00203BB0 /* Images.xcassets */; }; + 1420DE3119620A6600203BB0 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1420DE2F1962082C00203BB0 /* Images.xcassets */; }; 14732BC01960F2C200593899 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 14732BBF1960F0AC00593899 /* dsa_pub.pem */; }; 14732BD019610A0D00593899 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; 14732BD119610A1200593899 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; @@ -38,7 +39,6 @@ 14950073195FCE4E00BC5B5B /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; 14950075195FDF5900BC5B5B /* SUUpdaterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 14950074195FDF5900BC5B5B /* SUUpdaterTest.m */; }; 3772FEA913DE0B6B00F79537 /* SUVersionDisplayProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 550347011370023A00AE7681 /* Sparkle.icns in Resources */ = {isa = PBXBuildFile; fileRef = 550347001370023A00AE7681 /* Sparkle.icns */; }; 55C14BD4136EEFCE00649790 /* Autoupdate.m in Sources */ = {isa = PBXBuildFile; fileRef = 55C14BD3136EEFCE00649790 /* Autoupdate.m */; }; 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BD8136EF00C00649790 /* SUStatus.xib */; }; 55C14BEE136EF20D00649790 /* SUAutomaticUpdateAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 55C14BDA136EF20D00649790 /* SUAutomaticUpdateAlert.xib */; }; @@ -262,6 +262,8 @@ 0263187714FEBB42005EBF43 /* uk */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = uk; path = uk.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 1420DE2F1962082C00203BB0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 14732BB1195FF6B700593899 /* .clang-format */ = {isa = PBXFileReference; lastKnownFileType = text; path = ".clang-format"; sourceTree = SOURCE_ROOT; }; 14732BB91960EEEE00593899 /* SampleAppcast.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = SampleAppcast.xml; sourceTree = ""; }; 14732BBA1960EF7100593899 /* CHANGELOG */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CHANGELOG; sourceTree = SOURCE_ROOT; }; 14732BBC1960EFB500593899 /* README.markdown */ = {isa = PBXFileReference; lastKnownFileType = text; path = README.markdown; sourceTree = SOURCE_ROOT; }; @@ -279,7 +281,6 @@ 4607BEA41948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/SUUpdateAlert.xib; sourceTree = ""; }; 4607BEA51948443800EF8DA4 /* nb */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nb; path = nb.lproj/SUUpdatePermissionPrompt.xib; sourceTree = ""; }; 525A278F133D6AE900FD8D70 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; - 550347001370023A00AE7681 /* Sparkle.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Sparkle.icns; sourceTree = ""; }; 55C14BB7136EEF1500649790 /* Autoupdate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Autoupdate.app; sourceTree = BUILT_PRODUCTS_DIR; }; 55C14BB9136EEF1500649790 /* Autoupdate-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Autoupdate-Info.plist"; sourceTree = ""; }; 55C14BD3136EEFCE00649790 /* Autoupdate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Autoupdate.m; sourceTree = ""; }; @@ -655,7 +656,7 @@ 14732BBC1960EFB500593899 /* README.markdown */, 14732BC11960F3B200593899 /* Makefile */, 14732BB91960EEEE00593899 /* SampleAppcast.xml */, - 550347001370023A00AE7681 /* Sparkle.icns */, + 1420DE2F1962082C00203BB0 /* Images.xcassets */, 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */, ); path = Resources; @@ -1133,7 +1134,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 550347011370023A00AE7681 /* Sparkle.icns in Resources */, + 1420DE3119620A6600203BB0 /* Images.xcassets in Resources */, 55C14FC7136F05E100649790 /* Sparkle.strings in Resources */, 55C14BD9136EF00C00649790 /* SUStatus.xib in Resources */, ); @@ -1151,9 +1152,9 @@ buildActionMask = 2147483647; files = ( 14732BC01960F2C200593899 /* dsa_pub.pem in Resources */, + 1420DE301962082C00203BB0 /* Images.xcassets in Resources */, 61B5F92E09C4CFD800B25A18 /* InfoPlist.strings in Resources */, 61B5F92F09C4CFD800B25A18 /* MainMenu.xib in Resources */, - 14732BBD1960F03B00593899 /* Sparkle.icns in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1682,6 +1683,7 @@ 14732BC81960F69300593899 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; 14950060195FB89500BC5B5B /* Build configuration list for PBXAggregateTarget "All" */ = { isa = XCConfigurationList; diff --git a/Sparkle/Autoupdate/Autoupdate-Info.plist b/Sparkle/Autoupdate/Autoupdate-Info.plist index 1553bf25..92a7e0bb 100644 --- a/Sparkle/Autoupdate/Autoupdate-Info.plist +++ b/Sparkle/Autoupdate/Autoupdate-Info.plist @@ -6,8 +6,6 @@ English CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleIconFile - Sparkle CFBundleIdentifier org.sparkle-project.Sparkle.${PRODUCT_NAME:rfc1034identifier} CFBundleInfoDictionaryVersion diff --git a/TestApplication/TestApplication-Info.plist b/TestApplication/TestApplication-Info.plist index 0a8be900..8fbc517f 100644 --- a/TestApplication/TestApplication-Info.plist +++ b/TestApplication/TestApplication-Info.plist @@ -6,8 +6,6 @@ English CFBundleExecutable ${EXECUTABLE_NAME} - CFBundleIconFile - Sparkle CFBundleIdentifier org.sparkle-project.SparkleTestApp CFBundleInfoDictionaryVersion