Bez popisu

react-native-agora.podspec 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. #
  2. # Be sure to run `pod spec lint react-native-agora.podspec' to ensure this is a
  3. # valid spec and to remove all comments including this before submitting the spec.
  4. #
  5. # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
  6. # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
  7. #
  8. require 'json'
  9. package = JSON.parse File.read File.join __dir__, "package.json"
  10. Pod::Spec.new do |s|
  11. # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  12. #
  13. # These will help people to find your library, and whilst it
  14. # can feel like a chore to fill in it's definitely to your advantage. The
  15. # summary should be tweet-length, and the description more in depth.
  16. #
  17. s.name = package["name"]
  18. s.version = package["version"]
  19. s.summary = package["summary"]
  20. # This description is used to generate tags and improve search results.
  21. # * Think: What does it do? Why did you write it? What is the focus?
  22. # * Try to keep it short, snappy and to the point.
  23. # * Write the description between the DESC delimiters below.
  24. # * Finally, don't worry about the indent, CocoaPods strips it!
  25. s.description = <<-DESC
  26. DESC
  27. s.homepage = package["homepage"]
  28. # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
  29. # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  30. #
  31. # Licensing your code is important. See http://choosealicense.com for more info.
  32. # CocoaPods will detect a license file if there is a named LICENSE*
  33. # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
  34. #
  35. s.license = package["license"]
  36. # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
  37. # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  38. #
  39. # Specify the authors of the library, with email addresses. Email addresses
  40. # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
  41. # accepts just a name if you'd rather not provide an email address.
  42. #
  43. # Specify a social_media_url where others can refer to, for example a twitter
  44. # profile URL.
  45. #
  46. s.authors = package["authors"]
  47. # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  48. #
  49. # If this Pod runs only on iOS or OS X, then specify the platform and
  50. # the deployment target. You can optionally include the target after the platform.
  51. #
  52. # s.platform = :ios
  53. # s.platform = :ios, "5.0"
  54. # When using multiple platforms
  55. # s.ios.deployment_target = "5.0"
  56. # s.osx.deployment_target = "10.7"
  57. # s.watchos.deployment_target = "2.0"
  58. # s.tvos.deployment_target = "9.0"
  59. # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  60. #
  61. # Specify the location from where the source should be retrieved.
  62. # Supports git, hg, bzr, svn and HTTP.
  63. #
  64. s.source = { :git => package["repository"]["url"], :tag => "#{s.version}" }
  65. # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  66. #
  67. # CocoaPods is smart about how it includes source code. For source files
  68. # giving a folder will include any swift, h, m, mm, c & cpp files.
  69. # For header files it will include any header in the folder.
  70. # Not including the public_header_files will make all headers public.
  71. #
  72. s.source_files = "Classes", "Classes/**/*.{h,m}"
  73. s.exclude_files = "Classes/Exclude"
  74. # s.public_header_files = "Classes/**/*.h"
  75. # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  76. #
  77. # A list of resources included with the Pod. These are copied into the
  78. # target bundle with a build phase script. Anything else will be cleaned.
  79. # You can preserve files from being cleaned, please don't preserve
  80. # non-essential files like tests, examples and documentation.
  81. #
  82. # s.resource = "icon.png"
  83. # s.resources = "Resources/*.png"
  84. # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
  85. # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  86. #
  87. # Link your library with frameworks, or libraries. Libraries do not include
  88. # the lib prefix of their name.
  89. #
  90. # s.framework = "SomeFramework"
  91. # s.frameworks = "SomeFramework", "AnotherFramework"
  92. # s.library = "iconv"
  93. # s.libraries = "iconv", "xml2"
  94. # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
  95. #
  96. # If your library depends on compiler flags you can set them in the xcconfig hash
  97. # where they will only apply to your library. If you depend on other Podspecs
  98. # you can include multiple dependencies to ensure it works.
  99. # s.requires_arc = true
  100. # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  101. s.dependency "AgoraRtcEngine_iOS", "2.3.3"
  102. end