mirror of
https://github.com/zhigang1992/agora-react-native-rtm.git
synced 2026-01-12 22:45:41 +08:00
23 lines
626 B
Ruby
23 lines
626 B
Ruby
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = package["name"]
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.homepage = package["homepage"]
|
|
s.license = package["license"]
|
|
s.authors = package["author"]
|
|
|
|
s.platforms = { :ios => "9.0" }
|
|
s.source = { :git => "https://github.com/AgoraIO/agora-react-native-rtm.git", :tag => "#{s.version}" }
|
|
|
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
|
|
s.static_framework = true
|
|
|
|
s.dependency "React"
|
|
s.dependency 'AgoraRtm_iOS', "1.2.2"
|
|
end
|