-
-
Notifications
You must be signed in to change notification settings - Fork 315
/
XLActionController.podspec
40 lines (36 loc) · 1.35 KB
/
XLActionController.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
Pod::Spec.new do |spec|
spec.name = 'XLActionController'
spec.version = '5.1.0'
spec.license = 'MIT'
spec.summary = 'Fully customizable and extensible action sheet controller written in Swift'
spec.homepage = 'https://github.com/xmartlabs/XLActionController'
spec.social_media_url = 'https://twitter.com/xmartlabs'
spec.authors = { 'Miguel Revetria' => '[email protected]', 'Martin Barreto' => '[email protected]' }
spec.source = { :git => 'https://github.com/xmartlabs/XLActionController.git', :tag => spec.version }
spec.ios.deployment_target = '9.3'
spec.ios.frameworks = 'UIKit', 'Foundation', 'CoreGraphics'
spec.requires_arc = true
spec.swift_version = '5.0'
# Core subspec
spec.subspec 'Core' do |core|
core.source_files = ['Source/*.swift', 'Source/*.xib']
core.resources = 'Resource/*.xib'
end
# One subspec for each example provided by the library
subspecs = [
'Periscope',
'Skype',
'Spotify',
'Tweetbot',
'Twitter',
'Youtube'
]
subspecs.each do |name|
spec.subspec name do |subspec|
subspec.dependency 'XLActionController/Core'
subspec.source_files = ["Example/CustomActionControllers/#{name}/#{name}.swift", "Example/CustomActionControllers/#{name}/#{name}*.xib"]
end
end
# By default install just the Core subspec code
spec.default_subspec = 'Core'
end