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

32 lines
980 B
Ruby

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