Created
November 16, 2020 17:30
-
-
Save malcommac/31aea9a80bd5670ae0a8f606681003ea to your computer and use it in GitHub Desktop.
Podspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = "MyLib" | |
,,, | |
s.default_subspec = 'CHTMLSAXParser', 'Core' | |
s.subspec 'CHTMLSAXParser' do |ss| | |
ss.library = "CHTMLSAXParser" | |
ss.source_files = 'Sources/CHTMLSAXParser/**/*.{c}' | |
ss.public_header_files = "Sources/**/*.{h}" | |
ss.ios.deployment_target = '9.0' | |
ss.osx.deployment_target = '10.11' | |
ss.tvos.deployment_target = '9.2' | |
ss.watchos.deployment_target = '2.0' | |
end | |
s.subspec 'Core' do |ss| | |
ss.source_files = "Sources/MyLib/**/*.swift" | |
ss.dependency 'MyLib/CHTMLSAXParser' | |
ss.ios.deployment_target = '9.0' | |
ss.osx.deployment_target = '10.11' | |
ss.tvos.deployment_target = '9.2' | |
ss.watchos.deployment_target = '2.0' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment