Skip to content

Commit

Permalink
Update acrawriter.podspec (#325)
Browse files Browse the repository at this point in the history
* clean up podspec from unused imports

* stick with themis 0.10.4 and above

* link podspec to master

* use header search path

* re-link to the newest master
  • Loading branch information
vixentael committed Mar 7, 2019
1 parent d289875 commit be5e577
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions acrawriter.podspec
@@ -1,14 +1,17 @@
Pod::Spec.new do |s|
s.name = "acrawriter"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "AcraWriter library for iOS: encrypts data into AcraStructs, allowing Acra to decrypt it"
s.description = "Part of Acra database protection suite: developers can encrypt the sensitive data by generating AcraStructs with AcraWriter anywhere across their apps. AcraServer or AcraTranslator can be used for decryption."
s.homepage = "https://cossacklabs.com"
s.source = { :git => "https://github.com/cossacklabs/acra.git", :branch => 'master'}

# TODO: change on release :)
s.source = { :git => "https://github.com/cossacklabs/acra.git", :commit => 'd289875e36a4f3be61a0f307dfa19637d45cc321'}

s.license = { :type => 'Apache 2.0'}
s.author = {'cossacklabs' => 'info@cossacklabs.com'}

s.dependency 'themis', '~> 0.10.0'
s.dependency 'themis', '~> 0.10.4'

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
Expand All @@ -17,14 +20,11 @@ Pod::Spec.new do |s|

s.source_files = "wrappers/objc/AcraWriter/*.{h,m}"
s.public_header_files = "wrappers/objc/AcraWriter/AcraWriter.h", "wrappers/objc/AcraWriter/AcraStruct.h"

s.ios.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }


# Enable bitcode
s.ios.pod_target_xcconfig = {'ENABLE_BITCODE' => 'YES' }

s.osx.xcconfig = { 'OTHER_CFLAGS' => '-DLIBRESSL', 'USE_HEADERMAP' => 'NO',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"', 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }

end
s.ios.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"'}
s.osx.xcconfig = { 'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/themis/src" "${PODS_ROOT}/themis/src/wrappers/themis/Obj-C"'}

end

0 comments on commit be5e577

Please sign in to comment.