Ei kuvausta

react-native-agora.podspec 794B

123456789101112131415161718192021222324
  1. require 'json'
  2. package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
  3. Pod::Spec.new do |s|
  4. s.name = "react-native-agora"
  5. s.version = package["version"]
  6. s.summary = package["description"]
  7. s.homepage = package['homepage']
  8. s.license = package['license']
  9. s.authors = package["authors"]
  10. s.platform = :ios, "7.0"
  11. s.source = { :git => package["repository"]["url"] }
  12. s.source_files = 'ios/RCTAgora/*.{h,m}'
  13. s.subspec 'AgoraRtcCryptoLoader' do |sp|
  14. sp.source_files = './ios/RCTAgora/libs/AgoraRtcCryptoLoader.framework/**/*.{c,h,m,mm,S,cpp}'
  15. sp.vendored_libraries = 'libcrypto.a'
  16. end
  17. s.dependency 'React'
  18. s.dependency "AgoraRtcEngine_iOS", "2.4.1"
  19. end