-
Notifications
You must be signed in to change notification settings - Fork 75
/
KeepLayout.podspec
43 lines (37 loc) · 1.41 KB
/
KeepLayout.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
Pod::Spec.new do |s|
s.name = "KeepLayout"
s.version = "1.7.1"
s.summary = "Making Auto Layout easier to code."
s.homepage = "https://github.com/Tricertops/KeepLayout"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = 'Tricertops'
s.source = { :git => "https://github.com/Tricertops/KeepLayout.git", :tag => "v1.7.1" }
s.requires_arc = true
s.module_name = "KeepLayout"
s.default_subspec = 'Swift'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.tvos.deployment_target = '9.0'
s.subspec 'ObjC' do |op|
op.source_files = 'Sources'
op.exclude_files = 'Sources/*.{swift}'
op.ios.deployment_target = '5.0'
op.osx.deployment_target = '10.7'
op.tvos.deployment_target = '9.0'
op.ios.framework = 'UIKit'
op.tvos.framework = 'UIKit'
op.osx.framework = 'Cocoa'
op.osx.exclude_files = 'Sources/UIViewController+KeepLayout.{h,m}', 'Sources/UIScrollView+KeepLayout.{h,m}'
end
s.subspec 'Swift' do |sp|
sp.dependency 'KeepLayout/ObjC'
sp.source_files = 'Sources/*.{swift}'
sp.ios.deployment_target = '8.0'
sp.osx.deployment_target = '10.9'
sp.tvos.deployment_target = '9.0'
sp.ios.framework = 'UIKit'
sp.tvos.framework = 'UIKit'
sp.osx.framework = 'Cocoa'
sp.osx.exclude_files = 'Sources/UIViewController+KeepLayout.{h,m}', 'Sources/UIScrollView+KeepLayout.{h,m}'
end
end