forked from xmartlabs/XLActionController
-
Notifications
You must be signed in to change notification settings - Fork 2
/
XLActionController.podspec
38 lines (34 loc) · 1.32 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
Pod::Spec.new do |spec|
spec.name = 'XLActionController'
spec.version = '2.1.0'
spec.license = 'MIT'
spec.summary = 'Fully customizable and extensible action sheet controller written in Swift 2'
spec.homepage = 'https://github.com/xmartlabs/XLActionController'
spec.social_media_url = 'http://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 = '8.0'
spec.ios.frameworks = 'UIKit', 'Foundation', 'CoreGraphics'
spec.requires_arc = true
# Core subspec
spec.subspec 'Core' do |core|
core.source_files = ['Source/*.swift', 'Source/*.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}.swift", "Example/CustomActionControllers/ActionData.swift", "Example/CustomActionControllers/#{name}*.xib"]
end
end
# By default install just the Core subspec code
spec.default_subspec = 'Core'
end