Skip to content

Commit

Permalink
add CCommonCrypto module.modulemap xcode configure
Browse files Browse the repository at this point in the history
  • Loading branch information
chdzq committed Dec 6, 2017
1 parent d426b2a commit 79c7113
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CommonCrypto/appleTVOS/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}
6 changes: 6 additions & 0 deletions CommonCrypto/appleTVSimulator/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

6 changes: 6 additions & 0 deletions CommonCrypto/iPhoneOS/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

6 changes: 6 additions & 0 deletions CommonCrypto/iPhoneSimulator/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

6 changes: 6 additions & 0 deletions CommonCrypto/macOSX/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

6 changes: 6 additions & 0 deletions CommonCrypto/watchOS/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

6 changes: 6 additions & 0 deletions CommonCrypto/watchSimulator/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}

20 changes: 20 additions & 0 deletions Kingfisher.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2531,6 +2531,7 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = CommonCrypto/macOSX;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
VERSIONING_SYSTEM = "apple-generic";
Expand Down Expand Up @@ -2561,6 +2562,7 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = macosx;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = CommonCrypto/macOSX;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2760,6 +2762,9 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=appletvos*]" = CommonCrypto/appleTVOS;
"SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]" = CommonCrypto/appleTVSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2792,6 +2797,9 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=appletvos*]" = CommonCrypto/appleTVOS;
"SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]" = CommonCrypto/appleTVSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -2823,6 +2831,9 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=watchos*]" = CommonCrypto/watchOS;
"SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]" = CommonCrypto/watchSimulator;
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
TARGETED_DEVICE_FAMILY = 4;
Expand Down Expand Up @@ -2852,6 +2863,9 @@
PRODUCT_NAME = Kingfisher;
SDKROOT = watchos;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=watchos*]" = CommonCrypto/watchOS;
"SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]" = CommonCrypto/watchSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -3103,6 +3117,9 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = Kingfisher;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" = CommonCrypto/iPhoneOS;
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" = CommonCrypto/iPhoneSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down Expand Up @@ -3131,6 +3148,9 @@
PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = Kingfisher;
SKIP_INSTALL = YES;
SWIFT_INCLUDE_PATHS = "";
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" = CommonCrypto/iPhoneOS;
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" = CommonCrypto/iPhoneSimulator;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
Expand Down

0 comments on commit 79c7113

Please sign in to comment.