SignalServiceKit.podspec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #
  2. # Be sure to run `pod lib lint SignalServiceKit.podspec' to ensure this is a
  3. # valid spec before submitting.
  4. #
  5. # Any lines starting with a # are optional, but their use is encouraged
  6. # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
  7. #
  8. Pod::Spec.new do |s|
  9. s.name = "SignalServiceKit"
  10. s.version = "0.9.0"
  11. s.summary = "An Objective-C library for communicating with the Signal messaging service."
  12. s.description = <<-DESC
  13. An Objective-C library for communicating with the Signal messaging service.
  14. DESC
  15. s.homepage = "https://github.com/signalapp/SignalServiceKit"
  16. s.license = 'GPLv3'
  17. s.author = { "Frederic Jacobs" => "github@fredericjacobs.com" }
  18. s.source = { :git => "https://github.com/signalapp/SignalServiceKit.git", :tag => s.version.to_s }
  19. s.social_media_url = 'https://twitter.com/FredericJacobs'
  20. s.platform = :ios, '9.0'
  21. #s.ios.deployment_target = '9.0'
  22. #s.osx.deployment_target = '10.9'
  23. s.requires_arc = true
  24. s.source_files = 'SignalServiceKit/src/**/*.{h,m,mm,swift}'
  25. # We want to use modules to avoid clobbering CocoaLumberjack macros defined
  26. # by other OWS modules which *also* import CocoaLumberjack. But because we
  27. # also use Objective-C++, modules are disabled unless we explicitly enable
  28. # them
  29. s.compiler_flags = "-fcxx-modules"
  30. s.prefix_header_file = 'SignalServiceKit/src/TSPrefix.h'
  31. s.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
  32. s.resources = ["SignalServiceKit/Resources/Certificates/*"]
  33. s.dependency 'Curve25519Kit'
  34. s.dependency 'CocoaLumberjack'
  35. s.dependency 'AFNetworking'
  36. s.dependency 'AxolotlKit'
  37. s.dependency 'Mantle'
  38. s.dependency 'YapDatabase/SQLCipher'
  39. s.dependency 'Starscream'
  40. s.dependency 'libPhoneNumber-iOS'
  41. s.dependency 'GRKOpenSSLFramework'
  42. s.dependency 'SAMKeychain'
  43. s.dependency 'Reachability'
  44. s.dependency 'SwiftProtobuf'
  45. s.dependency 'SignalCoreKit'
  46. s.dependency 'SignalMetadataKit'
  47. s.dependency 'PromiseKit', "~> 6.0"
  48. s.test_spec 'Tests' do |test_spec|
  49. test_spec.source_files = 'SignalServiceKit/tests/**/*.{h,m,swift}'
  50. end
  51. end