diff --git a/CommonCrypto.xcodeproj/project.pbxproj b/CommonCrypto.xcodeproj/project.pbxproj index fbdbb5a..7296100 100644 --- a/CommonCrypto.xcodeproj/project.pbxproj +++ b/CommonCrypto.xcodeproj/project.pbxproj @@ -10,6 +10,9 @@ 211216831AE68D26004E1CE6 /* CommonCrypto.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CommonCrypto.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 211216861AE68D26004E1CE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 2112169C1AE68D66004E1CE6 /* CommonCrypto.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = CommonCrypto.xcconfig; sourceTree = ""; }; + 2112169D1AE68DD9004E1CE6 /* iphoneos.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = iphoneos.modulemap; sourceTree = ""; }; + 2112169E1AE68DD9004E1CE6 /* iphonesimulator.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = iphonesimulator.modulemap; sourceTree = ""; }; + 2112169F1AE68DD9004E1CE6 /* macosx.modulemap */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.module-map"; path = macosx.modulemap; sourceTree = ""; }; 211216A61AE68E17004E1CE6 /* libcommonCrypto.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcommonCrypto.dylib; path = usr/lib/system/libcommonCrypto.dylib; sourceTree = SDKROOT; }; 216CAE341AE6B273009A69EF /* CommonCrypto.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CommonCrypto.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 21C0694A1C04357600BD92CC /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; }; @@ -17,9 +20,12 @@ 21C0694E1C04359500BD92CC /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/WatchOS.platform/Developer/SDKs/WatchOS2.0.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; 21FD8C7A1AE6B11A008DCDBA /* libcommonCrypto.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcommonCrypto.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/usr/lib/system/libcommonCrypto.dylib; sourceTree = DEVELOPER_DIR; }; 80098A511C12E5890029C530 /* CommonCrypto.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CommonCrypto.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 80098A591C12E6370029C530 /* appletvos.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = appletvos.modulemap; sourceTree = ""; }; + 80098A5A1C12E6880029C530 /* appletvsimulator.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = appletvsimulator.modulemap; sourceTree = ""; }; 80098A8B1C12EBCC0029C530 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS9.0.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; 804503281BA209F6002A5470 /* CommonCrypto.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CommonCrypto.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 9CF348ED1FDF36C900345296 /* commoncrypto.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = commoncrypto.modulemap; sourceTree = ""; }; + 804503301BA20BD0002A5470 /* watchos.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = watchos.modulemap; sourceTree = ""; }; + 804503311BA20C1A002A5470 /* watchsimulator.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = watchsimulator.modulemap; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -79,7 +85,13 @@ children = ( 211216861AE68D26004E1CE6 /* Info.plist */, 2112169C1AE68D66004E1CE6 /* CommonCrypto.xcconfig */, - 9CF348ED1FDF36C900345296 /* commoncrypto.modulemap */, + 2112169D1AE68DD9004E1CE6 /* iphoneos.modulemap */, + 2112169E1AE68DD9004E1CE6 /* iphonesimulator.modulemap */, + 2112169F1AE68DD9004E1CE6 /* macosx.modulemap */, + 804503301BA20BD0002A5470 /* watchos.modulemap */, + 804503311BA20C1A002A5470 /* watchsimulator.modulemap */, + 80098A591C12E6370029C530 /* appletvos.modulemap */, + 80098A5A1C12E6880029C530 /* appletvsimulator.modulemap */, ); path = CommonCrypto; sourceTree = ""; diff --git a/CommonCrypto/CommonCrypto.xcconfig b/CommonCrypto/CommonCrypto.xcconfig index 85d984d..ba16577 100644 --- a/CommonCrypto/CommonCrypto.xcconfig +++ b/CommonCrypto/CommonCrypto.xcconfig @@ -6,10 +6,10 @@ // Copyright (c) 2015 Sam Soffes. All rights reserved. // -MODULEMAP_FILE[sdk=iphoneos*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=iphonesimulator*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=watchos*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=watchsimulator*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=macosx*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=appletvos*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap -MODULEMAP_FILE[sdk=appletvsimulator*] = $(SRCROOT)/CommonCrypto/commoncrypto.modulemap +MODULEMAP_FILE[sdk=iphoneos*] = $(SRCROOT)/CommonCrypto/iphoneos.modulemap +MODULEMAP_FILE[sdk=iphonesimulator*] = $(SRCROOT)/CommonCrypto/iphonesimulator.modulemap +MODULEMAP_FILE[sdk=watchos*] = $(SRCROOT)/CommonCrypto/watchos.modulemap +MODULEMAP_FILE[sdk=watchsimulator*] = $(SRCROOT)/CommonCrypto/watchsimulator.modulemap +MODULEMAP_FILE[sdk=macosx*] = $(SRCROOT)/CommonCrypto/macosx.modulemap +MODULEMAP_FILE[sdk=appletvos*] = $(SRCROOT)/CommonCrypto/appletvos.modulemap +MODULEMAP_FILE[sdk=appletvsimulator*] = $(SRCROOT)/CommonCrypto/appletvsimulator.modulemap diff --git a/CommonCrypto/appletvos.modulemap b/CommonCrypto/appletvos.modulemap new file mode 100644 index 0000000..c4fac3a --- /dev/null +++ b/CommonCrypto/appletvos.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/appletvsimulator.modulemap b/CommonCrypto/appletvsimulator.modulemap new file mode 100644 index 0000000..d1728b6 --- /dev/null +++ b/CommonCrypto/appletvsimulator.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/commoncrypto.modulemap b/CommonCrypto/commoncrypto.modulemap deleted file mode 100644 index fc7fb2a..0000000 --- a/CommonCrypto/commoncrypto.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module CommonCrypto [system] { - header "/usr/include/CommonCrypto/CommonCrypto.h" - export * -} diff --git a/CommonCrypto/iphoneos.modulemap b/CommonCrypto/iphoneos.modulemap new file mode 100644 index 0000000..125b772 --- /dev/null +++ b/CommonCrypto/iphoneos.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/iphonesimulator.modulemap b/CommonCrypto/iphonesimulator.modulemap new file mode 100644 index 0000000..835d686 --- /dev/null +++ b/CommonCrypto/iphonesimulator.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/macosx.modulemap b/CommonCrypto/macosx.modulemap new file mode 100644 index 0000000..fd7eb06 --- /dev/null +++ b/CommonCrypto/macosx.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/watchos.modulemap b/CommonCrypto/watchos.modulemap new file mode 100644 index 0000000..e81b2c6 --- /dev/null +++ b/CommonCrypto/watchos.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +} diff --git a/CommonCrypto/watchsimulator.modulemap b/CommonCrypto/watchsimulator.modulemap new file mode 100644 index 0000000..e1cfc7f --- /dev/null +++ b/CommonCrypto/watchsimulator.modulemap @@ -0,0 +1,4 @@ +module CommonCrypto [system] { + header "/Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h" + export * +}