Переглянути джерело

add CCommonCrypto module.modulemap xcode configure

张奇 8 роки тому
батько
коміт
fe443b8c62

+ 5 - 0
CommonCrypto/appleTVOS/module.modulemap

@@ -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 - 0
CommonCrypto/appleTVSimulator/module.modulemap

@@ -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 - 0
CommonCrypto/iPhoneOS/module.modulemap

@@ -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 - 0
CommonCrypto/iPhoneSimulator/module.modulemap

@@ -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 - 0
CommonCrypto/macOSX/module.modulemap

@@ -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 - 0
CommonCrypto/watchOS/module.modulemap

@@ -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 - 0
CommonCrypto/watchSimulator/module.modulemap

@@ -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 - 0
Kingfisher.xcodeproj/project.pbxproj

@@ -2531,6 +2531,7 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = macosx;
 				SDKROOT = macosx;
 				SKIP_INSTALL = YES;
 				SKIP_INSTALL = YES;
+				SWIFT_INCLUDE_PATHS = CommonCrypto/macOSX;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
 				VERSIONING_SYSTEM = "apple-generic";
 				VERSIONING_SYSTEM = "apple-generic";
@@ -2561,6 +2562,7 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = macosx;
 				SDKROOT = macosx;
 				SKIP_INSTALL = YES;
 				SKIP_INSTALL = YES;
+				SWIFT_INCLUDE_PATHS = CommonCrypto/macOSX;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
@@ -2760,6 +2762,9 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = appletvos;
 				SDKROOT = appletvos;
 				SKIP_INSTALL = YES;
 				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_OPTIMIZATION_LEVEL = "-Onone";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
@@ -2792,6 +2797,9 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = appletvos;
 				SDKROOT = appletvos;
 				SKIP_INSTALL = YES;
 				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_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
@@ -2823,6 +2831,9 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = watchos;
 				SDKROOT = watchos;
 				SKIP_INSTALL = YES;
 				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_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
 				TARGETED_DEVICE_FAMILY = 4;
 				TARGETED_DEVICE_FAMILY = 4;
@@ -2852,6 +2863,9 @@
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SDKROOT = watchos;
 				SDKROOT = watchos;
 				SKIP_INSTALL = YES;
 				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_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
@@ -3103,6 +3117,9 @@
 				PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SKIP_INSTALL = YES;
 				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_OPTIMIZATION_LEVEL = "-Onone";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;
@@ -3131,6 +3148,9 @@
 				PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_BUNDLE_IDENTIFIER = "com.onevcat.$(PRODUCT_NAME:rfc1034identifier)";
 				PRODUCT_NAME = Kingfisher;
 				PRODUCT_NAME = Kingfisher;
 				SKIP_INSTALL = YES;
 				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_OPTIMIZATION_LEVEL = "-Owholemodule";
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_SWIFT3_OBJC_INFERENCE = Off;
 				SWIFT_VERSION = 4.0;
 				SWIFT_VERSION = 4.0;