1 Star 0 Fork 0

blutter/cocoaui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CocoaUI.podspec 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
blutter 提交于 2017-12-11 20:47 +08:00 . update pod version
Pod::Spec.new do |s|
s.name = "CocoaUI"
s.version = "1.2.7"
s.summary = "Build adaptive UI for iOS Apps with Flow-Layout mechanism and CSS properties."
s.homepage = "http://www.cocoaui.com"
s.license = "New BSD License."
s.author = { "ideawu" => "ideawu@cocoaui.com" }
#s.social_media_url = "http://www.cocoaui.com"
s.platform = :ios, "7.0"
# When using multiple platforms
# s.ios.deployment_target = "5.0"
# s.osx.deployment_target = "10.7"
# s.watchos.deployment_target = "2.0"
# s.tvos.deployment_target = "9.0"
# s.source = { :git => "https://github.com/ideawu/cocoaui.git", :tag => s.version }
s.source = { :git => "https://github.com/ideawu/cocoaui.git",:tag => s.version }
#s.source_files = "IKit/*.{h,m}", "IKit/*/*.{m,h}", "IObj/*.{h,m}"
#s.exclude_files = "Classes/Exclude"
s.default_subspecs = 'IKit', 'IObj'
s.subspec 'IKit' do |iKit|
iKit.source_files = "IKit/*.{h,m}", "IKit/*/*.{m,h}"
end
s.subspec 'IKit-DTFoundation' do |iKit|
iKit.source_files = "IKit/*.{h,m}","IKit/*/*.{m,h}"
iKit.exclude_files = "IKit/xml/DTHTMLParser.{h,m}"
iKit.dependency "DTFoundation/DTHTMLParser", "~>1.7.2"
end
s.subspec 'IObj' do |iObj|
iObj.source_files = "IObj/*.{h,m}"
end
#s.public_header_files = "IKit/*.{h}"
s.prefix_header_contents = <<-EOS
#ifndef IKit_PrefixHeader_pch
#define IKit_PrefixHeader_pch
#define VER_NUM "1.2.5"
#ifdef DEBUG
# define VERSION VER_NUM "(for development only)"
# define log_trace(...) NSLog(__VA_ARGS__)
# define log_debug(...) NSLog(__VA_ARGS__)
# define log_info(...) NSLog(__VA_ARGS__)
#else
# define VERSION VER_NUM "(for production)"
#if 1
# define log_trace(...)
# define log_debug(...)
#else
# define log_trace(...) NSLog(__VA_ARGS__)
# define log_debug(...) NSLog(__VA_ARGS__)
#endif
# define log_info(...) NSLog(__VA_ARGS__)
#endif
#endif
EOS
# s.resource = "icon.png"
# s.resources = "Resources/*.png"
s.frameworks = "Foundation", "UIKit"
# s.library = "iconv"
# s.libraries = "iconv", "xml2"
s.library = "xml2"
# s.requires_arc = true
s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency "JSONKit", "~> 1.4"
s.module_name = 'CocoaUI'
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Objective-C
1
https://gitee.com/blutter/cocoaui.git
git@gitee.com:blutter/cocoaui.git
blutter
cocoaui
cocoaui
master

搜索帮助