1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-wechat/ios/RNWechat.podspec
2020-08-01 18:05:40 +08:00

34 lines
1.1 KiB
Ruby

require "json"
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
Pod::Spec.new do |s|
s.name = "RNWechat"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
React Native 使
DESC
s.homepage = "https://github.com/uiwjs/react-native-wechat"
# brief license entry:
# s.license = "MIT"
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
s.license = package["license"]
s.author = { package["author"]["name"] => package["author"]["email"] }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/uiwjs/react-native-wechat.git", :tag => "#{s.version}" }
s.source_files = "**/*.{h,c,m,swift}"
s.requires_arc = true
# s.static_framework = true
s.dependency "React"
s.dependency "libWeChatSDK"
# s.vendored_library "libWeChatSDK"
# s.library = "c++", "z"
# ...
# s.dependency "..."
end