diff --git a/MIHCrypto.podspec b/MIHCrypto.podspec index e6cf917..7fd9c35 100644 --- a/MIHCrypto.podspec +++ b/MIHCrypto.podspec @@ -9,12 +9,18 @@ Pod::Spec.new do |s| s.authors = {'Michael Hohl' => 'me@michaelhohl.net'} s.source = { :git => "https://github.com/hohl/MIHCrypto.git", :tag => "#{s.version}" } + s.ios.deployment_target = '6.0' s.osx.deployment_target = '10.9' s.requires_arc = true s.static_framework = true + s.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', + 'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/OpenSSL-Universal/lib-ios"' } + + s.libraries = 'ssl', 'crypto' + s.subspec 'Core' do |core| core.source_files = 'MIHCrypto/{Utils,Core}/*.{h,m,c}' core.dependency 'OpenSSL-Universal', '~> 1.0.2.19'