1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

chore(iOS): 添加微信 SDK v1.8.7.1

This commit is contained in:
jaywcjlove
2020-08-01 18:05:40 +08:00
parent 15c37db766
commit 973a80c9ba
18 changed files with 1659 additions and 136 deletions

View File

@@ -1,27 +1,32 @@
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.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
@uiw/react-native-wechat
React Native 包使用微信分享、登录、收藏、支付等功能。
DESC
s.homepage = "https://github.com/uiwjs/react-native-wechat"
# brief license entry:
s.license = "MIT"
# s.license = "MIT"
# optional - use expanded license entry instead:
# s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "Kenny Wong" => "wowohoo@qq.com" }
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 = "ios/**/*.{h,c,m,swift}"
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