fix update podspec: use correct library search path for MacOS
@@ -5,7 +5,7 @@ Pod::Spec.new do |s|
s.description = "Themis is a data security library, providing users with high-quality security services for secure messaging of any kinds and flexible data storage. Themis is aimed at modern development practices, with high level OOP wrappers for iOS / macOS, NodeJS, Go, Ruby, Python, PHP and Java / Android. It is designed with ease of use in mind, high security and cross-platform availability."
s.homepage = "http://cossacklabs.com"
s.license = { :type => 'Apache 2.0'}
- s.source = { :git => "https://github.com/cossacklabs/themis.git", :tag => "0.9.4" }
+ s.source = { :git => "https://github.com/cossacklabs/themis.git", :tag => "#{s.version}" }
s.author = {'cossacklabs' => 'info@cossacklabs.com'}
s.dependency 'OpenSSL-Universal', '1.0.1.20'
@@ -13,10 +13,14 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
- s.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
+ s.ios.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"',
'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/OpenSSL-Universal/lib-ios"' }
+ s.osx.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
+ 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"',
+ 'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/OpenSSL-Universal/lib-macos"' }
+
# open ssl
s.libraries = 'ssl', 'crypto'
