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

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-07-07 17:44:10 +08:00
require "json"
package = JSON.parse(File.read(File.join(__dir__, '..', "package.json")))
2020-07-07 17:44:10 +08:00
Pod::Spec.new do |s|
s.name = "RNAlipay"
2020-07-07 17:44:10 +08:00
s.version = package["version"]
s.summary = package["description"]
s.description = <<-DESC
Alipay SDK for React Native
2020-07-07 17:44:10 +08:00
DESC
s.homepage = package['repository']['url']
2020-07-07 17:44:10 +08:00
# brief license entry:
s.license = package["license"]
s.author = { package["author"]["name"] => package["author"]["email"] }
2020-07-07 17:44:10 +08:00
# 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}" }
2020-07-07 17:44:10 +08:00
s.source_files = "**/*.{h,c,m,swift}"
# s.source_files = "**/*.{h,m}"
2020-07-07 17:44:10 +08:00
s.requires_arc = true
s.frameworks = "UIKit",
s.frameworks = "Foundation",
s.frameworks = "CFNetwork",
s.frameworks = "SystemConfiguration",
s.frameworks = "QuartzCore",
s.frameworks = "CoreGraphics",
s.frameworks = "CoreMotion",
s.frameworks = "CoreTelephony",
s.frameworks = "CoreText",
s.frameworks = "WebKit"
2020-07-07 17:44:10 +08:00
s.dependency "React"
s.resource = 'AlipaySDK.bundle'
# s.source_files = "AlipaySDKiOS/AlipaySDK.framework/**/*"
s.vendored_frameworks = 'AlipaySDK.framework'
2020-07-07 20:10:43 +08:00
s.library = "c++", "z"
2020-07-07 17:44:10 +08:00
# ...
# s.dependency "..."
end