1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
react-native-wechat/ios/RNWechat.podspec

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-07-31 14:47:29 +08:00
require "json"
2020-08-01 18:05:40 +08:00
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
2020-07-31 14:47:29 +08:00
Pod::Spec.new do |s|
s.name = "RNWechat"
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
2020-08-01 18:05:40 +08:00
React Native 包使用微信分享、登录、收藏、支付等功能。
2020-07-31 14:47:29 +08:00
DESC
s.homepage = "https://github.com/uiwjs/react-native-wechat"
# brief license entry:
2020-08-01 18:05:40 +08:00
# s.license = "MIT"
2020-07-31 14:47:29 +08:00
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
2020-08-01 18:05:40 +08:00
s.license = package["license"]
s.author = { package["author"]["name"] => package["author"]["email"] }
2020-07-31 14:47:29 +08:00
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/uiwjs/react-native-wechat.git", :tag => "#{s.version}" }
2020-08-01 18:05:40 +08:00
s.source_files = "**/*.{h,c,m,swift}"
2020-07-31 14:47:29 +08:00
s.requires_arc = true
2020-08-01 18:05:40 +08:00
# s.static_framework = true
2020-07-31 14:47:29 +08:00
s.dependency "React"
2020-08-01 18:05:40 +08:00
s.dependency "libWeChatSDK"
# s.vendored_library "libWeChatSDK"
# s.library = "c++", "z"
2020-07-31 14:47:29 +08:00
# ...
# s.dependency "..."
end