1 Star 0 Fork 88

CyrusZhou/Hippy

forked from 腾讯开源/Hippy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hippy.podspec 2.46 KB
一键复制 编辑 原始数据 按行查看 历史
mengyanluo 提交于 2021-07-08 16:02 . chore(ios): add logs in podspec file
#
# Be sure to run `pod lib lint hippy.podspec --verbose --use-libraries' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
puts 'hippy.podspec read begins'
s.name = 'hippy'
s.version = '2.2.0'
s.summary = 'Hippy library for iOS'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
Hippy is a cross-platform development framework created by Tencent, aiming to help developers write once, run on three platforms(iOS, Android and Web).
Hippy is quite friendly to web developers, especially who are familiar with React or Vue. With Hippy, developers are able to create the cross platform app easily.
DESC
s.homepage = 'http://hippyjs.org'
s.license = { :type => 'Apache2', :file => 'LICENSE' }
s.author = { 'mengyanluo' => 'mengyanluo@tencent.com' }
s.source = {:git => 'https://github.com/Tencent/Hippy.git', :tag => s.version}
s.ios.deployment_target = '8.0'
s.source_files = 'ios/sdk/**/*.{h,m,c,mm,s,cpp,cc}'
s.public_header_files = 'ios/sdk/**/*.h'
s.default_subspec = 'core'
s.subspec 'core' do |cores|
puts 'hippy subspec \'core\' read begins'
cores.source_files = 'core/**/*.{h,cc}'
cores.exclude_files = ['core/include/core/napi/v8','core/src/napi/v8','core/js','core/third_party/base/src/platform/adr']
cores.libraries = 'c++'
#this setting causes 'There are header files outside of the header_mappings_dir'
# cores.header_mappings_dir = 'core/include/'
cores.xcconfig = {'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/hippy/core/third_party/base/include/ ${PODS_ROOT}/hippy/core/include/'}
puts 'hippy subspec \'core\' read end'
end
if ENV['hippy_use_frameworks']
puts 'use frameworks mode, no force load'
else
puts 'use library mode, force load hippy library'
s.user_target_xcconfig = {'OTHER_LDFLAGS' => '-force_load "${PODS_CONFIGURATION_BUILD_DIR}/hippy/libhippy.a"'}
end
puts 'hippy.podspec read ends'
end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/CyrusZHou/Hippy.git
git@gitee.com:CyrusZHou/Hippy.git
CyrusZHou
Hippy
Hippy
master

搜索帮助