Skip to content

Commit

Permalink
Merge pull request onevcat#834 from onevcat/revert-md5
Browse files Browse the repository at this point in the history
Revert MD5 implementation without dependency
  • Loading branch information
onevcat authored Dec 28, 2017
2 parents 7742a04 + efe0e91 commit 8dd5207
Show file tree
Hide file tree
Showing 10 changed files with 263 additions and 100 deletions.
14 changes: 2 additions & 12 deletions Kingfisher.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,10 @@ Pod::Spec.new do |s|
]
s.ios.exclude_files = "Sources/NSButton+Kingfisher.swift"
s.tvos.exclude_files = "Sources/NSButton+Kingfisher.swift"

s.resources = ['Sources/CommonCrypto']

s.requires_arc = true
s.framework = "CFNetwork"

s.pod_target_xcconfig = {
'SWIFT_VERSION' => '4.0',
'SWIFT_INCLUDE_PATHS[sdk=iphoneos*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/iPhoneOS',
'SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/iPhoneSimulator',
'SWIFT_INCLUDE_PATHS[sdk=appletvos*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/appleTVOS',
'SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/appleTVSimulator',
'SWIFT_INCLUDE_PATHS[sdk=macosx*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/macOSX',
'SWIFT_INCLUDE_PATHS[sdk=watchos*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/watchOS',
'SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]' => '$(PODS_TARGET_SRCROOT)/Sources/CommonCrypto/watchSimulator',
}
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }

end
14 changes: 0 additions & 14 deletions Kingfisher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,6 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = Sources/CommonCrypto/macOSX;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -2554,7 +2553,6 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = Sources/CommonCrypto/macOSX;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2755,8 +2753,6 @@
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=appletvos*]" = Sources/CommonCrypto/appleTVOS;
"SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]" = Sources/CommonCrypto/appleTVSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2790,8 +2786,6 @@
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=appletvos*]" = Sources/CommonCrypto/appleTVOS;
"SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]" = Sources/CommonCrypto/appleTVSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2824,8 +2818,6 @@
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=watchos*]" = Sources/CommonCrypto/watchOS;
"SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]" = Sources/CommonCrypto/watchSimulator;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = 4;
Expand Down Expand Up @@ -2856,8 +2848,6 @@
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=watchos*]" = Sources/CommonCrypto/watchOS;
"SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]" = Sources/CommonCrypto/watchSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -3110,8 +3100,6 @@
PRODUCT_NAME = Kingfisher;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" = Sources/CommonCrypto/iPhoneOS;
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" = Sources/CommonCrypto/iPhoneSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -3141,8 +3129,6 @@
PRODUCT_NAME = Kingfisher;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" = Sources/CommonCrypto/iPhoneOS;
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" = Sources/CommonCrypto/iPhoneSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down
5 changes: 0 additions & 5 deletions Sources/CommonCrypto/appleTVOS/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/appleTVSimulator/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/iPhoneOS/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/iPhoneSimulator/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/macOSX/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/watchOS/module.modulemap

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/CommonCrypto/watchSimulator/module.modulemap

This file was deleted.

Loading

0 comments on commit 8dd5207

Please sign in to comment.