-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZHBarTool.podspec
executable file
·44 lines (32 loc) · 1.34 KB
/
ZHBarTool.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "ZHBarTool"
s.version = "1.3.1"
s.summary = "二维码工具"
s.description = "原生封装二维码、条形码扫描工具;生成、识别(彩色)二维码图片"
s.homepage = "https://github.com/leezhihua/ZHBarTool"
s.license = { :type => "MIT", :file => "LICENSE" }
s.authors = { "leezhihua" => "leezhihua@yeah.net" }
# 支持的最低iOS版本
s.ios.deployment_target = "8.0"
# git地址
s.source = { :git => "https://github.com/leezhihua/ZHBarTool.git", :tag => "#{s.version}" }
# 库文件
s.source_files = "Pod/Classes/*.{h,m}"
# 图片、bundle等资源文件
s.resources = ["Pod/Assets/*"]
# 三方的framework文件
# s.ios.vendored_frameworks = "Pod/Assets/*.framework"
# 三方的.a文件
# s.ios.vendored_libraries = "Pod/Assets/*.a"
# 使用到的系统库
s.frameworks = "UIKit", "AVFoundation", "CoreImage"
# 是否使用ARC
s.requires_arc = true
# 依赖的三方库,如果有多个分开写
# s.dependency "JSONKit", "~> 1.4"
# s.dependency "AFNetworking", "~> 1.4"
end