Skip to content

Commit

Permalink
Move to ICNS icon format for smaller application size
Browse files Browse the repository at this point in the history
  • Loading branch information
janten committed Apr 30, 2018
1 parent 57a7540 commit 9c28dda
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 71 deletions.
10 changes: 8 additions & 2 deletions keypad-layout.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
objects = {

/* Begin PBXBuildFile section */
EE32EB2720975F0100B1ECA1 /* AppIcon.icns in Resources */ = {isa = PBXBuildFile; fileRef = EE32EB2620975F0100B1ECA1 /* AppIcon.icns */; };
EE4347521E78371100ECAADF /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = EE4347511E78371100ECAADF /* AppDelegate.m */; };
EE4347551E78371100ECAADF /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = EE4347541E78371100ECAADF /* main.m */; };
EE43475A1E78371100ECAADF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EE4347591E78371100ECAADF /* Assets.xcassets */; };
EE5F65CB1E799BAB00020AD2 /* Storyboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE5F65CA1E799BAB00020AD2 /* Storyboard.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
EE32EB2620975F0100B1ECA1 /* AppIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = AppIcon.icns; sourceTree = "<group>"; };
EE43474D1E78371100ECAADF /* Keypad Layout.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Keypad Layout.app"; sourceTree = BUILT_PRODUCTS_DIR; };
EE4347501E78371100ECAADF /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
EE4347511E78371100ECAADF /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -65,6 +67,7 @@
EE4347531E78371100ECAADF /* Supporting Files */ = {
isa = PBXGroup;
children = (
EE32EB2620975F0100B1ECA1 /* AppIcon.icns */,
EE4347541E78371100ECAADF /* main.m */,
EE5F65CA1E799BAB00020AD2 /* Storyboard.storyboard */,
);
Expand Down Expand Up @@ -137,6 +140,7 @@
files = (
EE43475A1E78371100ECAADF /* Assets.xcassets in Resources */,
EE5F65CB1E799BAB00020AD2 /* Storyboard.storyboard in Resources */,
EE32EB2720975F0100B1ECA1 /* AppIcon.icns in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -184,6 +188,7 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -237,7 +242,9 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEPLOYMENT_POSTPROCESSING = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand All @@ -248,6 +255,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
LLVM_LTO = YES;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
Expand All @@ -257,7 +265,6 @@
EE4347621E78371100ECAADF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "keypad-layout/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
Expand All @@ -269,7 +276,6 @@
EE4347631E78371100ECAADF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "keypad-layout/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
Expand Down
Binary file added keypad-layout/AppIcon.icns
Binary file not shown.
68 changes: 0 additions & 68 deletions keypad-layout/Assets.xcassets/AppIcon.appiconset/Contents.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion keypad-layout/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIconFile</key>
<string></string>
<string>AppIcon</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand Down

0 comments on commit 9c28dda

Please sign in to comment.