forked from SwiftKickMobile/SwiftMessages
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SwiftMessages.podspec
30 lines (27 loc) · 1.31 KB
/
SwiftMessages.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
Pod::Spec.new do |spec|
spec.name = 'SwiftMessages'
spec.version = '4.1.4'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/SwiftKickMobile/SwiftMessages'
spec.authors = { 'Timothy Moose' => '[email protected]' }
spec.summary = 'A very flexible message bar for iOS written in Swift.'
spec.source = {:git => 'https://github.com/SwiftKickMobile/SwiftMessages.git', :tag => '4.1.4'}
spec.platform = :ios, '8.0'
spec.ios.deployment_target = '8.0'
spec.framework = 'UIKit'
spec.requires_arc = true
spec.default_subspec = 'App'
spec.subspec 'App' do |app|
app.source_files = 'SwiftMessages/**/*.swift'
app.resource_bundles = {'SwiftMessages' => ['SwiftMessages/Resources/**/*']}
end
spec.subspec 'AppExtension' do |ext|
ext.source_files = 'SwiftMessages/**/*.swift'
ext.resource_bundles = {'SwiftMessages' => ['SwiftMessages/Resources/**/*']}
# For app extensions, disabling code paths using unavailable API
ext.pod_target_xcconfig = {
'SWIFT_ACTIVE_COMPILATION_CONDITIONS' => 'SWIFTMESSAGES_APP_EXTENSIONS',
'GCC_PREPROCESSOR_DEFINITIONS' => 'SWIFTMESSAGES_APP_EXTENSIONS=1'
}
end
end