加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MandMobileRN.podspec 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
renhongyu 提交于 2020-04-17 16:17 . fix(ios):fix ios dependencies
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |spec|
spec.name = "MandMobileRN"
spec.version = package["version"]
spec.summary = "MandMobileRN."
spec.description = <<-DESC
mand-mobile-rn 是滴滴金融 FE 团队开发的面向金融场景的 react-native 组件库。
DESC
spec.homepage = "https://github.com/didi/mand-mobile-rn"
spec.license = "MIT"
spec.authors = { "ringlong" => "266949@qq.com", "hbxeagle" => "hbxeagle@gmail.com", "liujb" => "liujiangbei88@gmail.com", "zhuchu" => "zhuochuhy@163.com", "KennethYo" => "youzicong@gmail.com", "liuwei" => "574613441@qq.com", "tryao" => "tryao66@gmail.com" }
spec.platform = :ios
spec.platform = :ios, "9.0"
spec.source = { :git => "https://github.com/didi/mand-mobile-rn.git", :tag => spec.version }
spec.subspec "Core" do |ss|
# ss.dependency "yoga", "#{package["version"]}.React"
ss.source_files = "src/natives/Core/Classes", "src/natives/Core/Classes/*.{h,m}"
ss.public_header_files = "src/natives/Core/Classes/*.h"
ss.resources = "src/assets/**/*.{ttf,json,png,jpg,svg,strings,otf}"
end
spec.subspec "MDNumberKeyboard" do |ss|
ss.source_files = "src/natives/NumberKeyboard/ios/*.{h,m}"
ss.public_header_files = "src/natives/NumberKeyboard/ios/*.h"
end
spec.subspec "MDRefreshControl" do |ss|
ss.source_files = "src/natives/RefreshControl/ios/*.{h,m}"
ss.public_header_files = "src/natives/RefreshControl/ios/*.h"
ss.dependency "MJRefresh", "~> 3.2.2"
end
spec.subspec "MDImagePicker" do |ss|
ss.source_files = "src/natives/ImagePicker/ios/*.{h,m}","src/natives/ImagePicker/ios/MDImagePickerController/*.{h,m}"
ss.public_header_files = "src/natives/ImagePicker/ios/*.h"
end
spec.requires_arc = true
spec.dependency "React"
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化