-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFanKit.podspec
More file actions
88 lines (63 loc) · 2.85 KB
/
FanKit.podspec
File metadata and controls
88 lines (63 loc) · 2.85 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#
# Be sure to run `pod spec lint FanKit.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# 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 = "FanKit"
s.version = "1.1.0"
s.summary = "A Cocoa Tool Kit of iOS components."
s.description = <<-DESC
一个iOS集成实用工具库,以后会添加更多更多的工具,实用类,封装类,封装小效果
DESC
s.homepage = "https://github.com/fanxiangyang/FanKit"
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "fanxiangyang" => "fqsyfan@gmail.com" }
# s.social_media_url = "http://twitter.com/fanxiangyang"
s.platform = :ios, "10.0"
s.ios.deployment_target = "10.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/fanxiangyang/FanKit.git", :tag => s.version.to_s }
s.source_files = "Sources/FanKit/*.{h,m}"
#s.exclude_files = "Classes/Exclude"
s.public_header_files = "Sources/FanKit/*.h"
# s.resource = "icon.png"
# s.resources = "Resources/*.png"
s.resources = "Sources/Resources/FanKit.bundle"
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
s.frameworks = "UIKit", "QuartzCore","SystemConfiguration","AudioToolbox","AVFoundation","CoreLocation","Photos"
# s.library = "iconv"
# s.libraries = "iconv", "xml2"
s.requires_arc = true
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency "JSONKit", "~> 1.4"
#这个作为公共的子文件夹,其他子文件有引用这里的东西,所以放在这里面
# s.subspec 'Common' do |ss|
# ss.public_header_files = 'Classes/Common/*.h'
# ss.source_files = 'Classes/Common/*.{h,m}'
# ss.frameworks = "UIKit","SystemConfiguration"
# end
# s.subspec 'Core' do |ss|
# #ss.dependency 是库的依赖不是路径Class
# ss.dependency 'FanKit/Common'
# ss.source_files = "Classes/Core/*.{h,m}"
# ss.public_header_files = "Classes/Core/*.h"
# ss.frameworks = "UIKit", "QuartzCore","AudioToolbox","AVFoundation"
# end
# s.subspec 'UIKit' do |ss|
# ss.dependency 'FanKit/Common'
# ss.public_header_files = 'Classes/UIKit/*.h'
# ss.source_files = 'Classes/UIKit/*.{h,m}'
# ss.frameworks = "UIKit","AVFoundation","Photos","CoreLocation"
# end
#s.subspec 'Libs' do |ss|
# ss.public_header_files = 'Classes/Libs/**/*.h'
# ss.source_files = 'Classes/Libs/**/*.{h,m}'
# ss.frameworks = "UIKit"
#end
end