From ca23238d595bc56aaee8d1b92924d440cd980895 Mon Sep 17 00:00:00 2001 From: Dmytro Tretiakov Date: Mon, 14 Apr 2014 14:23:10 +0300 Subject: [PATCH] DM-2123 Added code sign rules file to exclude headers from code signing. --- ResourceRules.plist | 41 +++++++++++++++++++++++++++++++ Sparkle.xcodeproj/project.pbxproj | 6 +++++ 2 files changed, 47 insertions(+) create mode 100644 ResourceRules.plist diff --git a/ResourceRules.plist b/ResourceRules.plist new file mode 100644 index 00000000..a5b94ca0 --- /dev/null +++ b/ResourceRules.plist @@ -0,0 +1,41 @@ + + + + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^version.plist$ + + ^Headers/ + + omit + + weight + 1000 + + ^PrivateHeaders/ + + omit + + weight + 1000 + + + + diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 9bb4b2a8..8f6e301e 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -246,6 +246,7 @@ 03B5E64A15D39CD90038BB67 /* SUXPCURLDownload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SUXPCURLDownload.m; sourceTree = ""; }; 0867D69BFE84028FC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 0867D6A5FE840307C02AAC07 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; + 3329F06D18FBFBA800556010 /* ResourceRules.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = ResourceRules.plist; sourceTree = ""; }; 33D081821888446E00394A94 /* libDMCore.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDMCore.a; path = External/libDMCore.a; sourceTree = ""; }; 3772FEA813DE0B6B00F79537 /* SUVersionDisplayProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SUVersionDisplayProtocol.h; sourceTree = ""; }; 525A278F133D6AE900FD8D70 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; @@ -650,6 +651,7 @@ 089C1665FE841158C02AAC07 /* Framework Resources */ = { isa = PBXGroup; children = ( + 3329F06D18FBFBA800556010 /* ResourceRules.plist */, 8DC2EF5A0486A6940098B216 /* Info.plist */, 615AE3CF0D64DC40001CA7BD /* SUModelTranslation.plist */, 61C268090E2DB5D000175E6C /* License.txt */, @@ -1701,6 +1703,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941CA0D94A70100DD942E /* ConfigFrameworkDebug.xcconfig */; buildSettings = { + CODE_SIGN_RESOURCE_RULES_PATH = ResourceRules.plist; COMBINE_HIDPI_IMAGES = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -1713,6 +1716,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + CODE_SIGN_RESOURCE_RULES_PATH = ResourceRules.plist; COMBINE_HIDPI_IMAGES = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -1835,6 +1839,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 61072EB20DF2640C008FE88B /* ConfigFrameworkReleaseGCSupport.xcconfig */; buildSettings = { + CODE_SIGN_RESOURCE_RULES_PATH = ResourceRules.plist; COMBINE_HIDPI_IMAGES = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -1932,6 +1937,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = FA1941D50D94A70100DD942E /* ConfigFrameworkRelease.xcconfig */; buildSettings = { + CODE_SIGN_RESOURCE_RULES_PATH = ResourceRules.plist; COMBINE_HIDPI_IMAGES = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)",