Skip to content

Commit

Permalink
add podfiel module_map
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakey committed Mar 28, 2018
1 parent 7cc0808 commit d53303e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
14 changes: 0 additions & 14 deletions CommonCrypto/CommonCryptoHeader.h

This file was deleted.

12 changes: 4 additions & 8 deletions CommonCrypto/module.modulemap
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
module JKCategories {
umbrella header "JKCategories.h"
module CommonCrypto [system] {
header "/usr/include/CommonCrypto/CommonCrypto.h"
export *
module * { export * }

explicit module CommonCrypto [system] {
header "CommonCryptoHeader.h"
export *
}
}

framework module JKCategories {
}
2 changes: 0 additions & 2 deletions JKCategories-Demo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,6 @@
A2FF6FE61D04334F00320C36 /* NSData+JKPCM.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; lineEnding = 0; path = "NSData+JKPCM.m"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objc; };
B8102479206A0DE90099CDA8 /* JKCategories.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = JKCategories.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B8102673206A24AC0099CDA8 /* module.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.modulemap; sourceTree = "<group>"; };
B8102675206A24D00099CDA8 /* CommonCryptoHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommonCryptoHeader.h; sourceTree = "<group>"; };
B8531B381F9ED8E700233355 /* NSDate+JKLunarCalendar.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSDate+JKLunarCalendar.h"; sourceTree = "<group>"; };
B8531B391F9ED8E700233355 /* NSDate+JKLunarCalendar.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSDate+JKLunarCalendar.m"; sourceTree = "<group>"; };
B869399B1CA8EEB500EE7A1A /* UIButton+JKImagePosition.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIButton+JKImagePosition.h"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3162,7 +3161,6 @@
isa = PBXGroup;
children = (
B8102673206A24AC0099CDA8 /* module.modulemap */,
B8102675206A24D00099CDA8 /* CommonCryptoHeader.h */,
);
path = CommonCrypto;
sourceTree = "<group>";
Expand Down
1 change: 1 addition & 0 deletions JKCategories.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ Pod::Spec.new do |s|
s.libraries = "z"
s.source = { :git => "https://github.com/shaojiankui/JKCategories.git", :tag => "#{version}" }
s.source_files = "JKCategories", "JKCategories/*.{h}","JKCategories/**/*.{h,m}"
s.module_map = "CommonCrypto/module.modulemap"
#s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
end

0 comments on commit d53303e

Please sign in to comment.