mirror of
https://github.com/zhigang1992/react-native-wechat-1.git
synced 2026-01-12 22:51:14 +08:00
22 lines
660 B
Ruby
22 lines
660 B
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 = "react native wechat"
|
|
s.description = package["description"]
|
|
s.license = package["license"]
|
|
s.author = { package["author"] => "g592842897@gmail.com" }
|
|
s.homepage = package["homepage"]
|
|
s.source = { :git => package["repository"]["url"], :tag => package["version"] }
|
|
|
|
s.requires_arc = true
|
|
s.platform = :ios, "8.0"
|
|
s.source_files = "ios/**/*.{h,m}"
|
|
s.exclude_files = "ios/SDK/*"
|
|
|
|
s.dependency "WechatOpenSDK"
|
|
end
|