-
Notifications
You must be signed in to change notification settings - Fork 1
/
SweetNotifications.podspec
30 lines (26 loc) · 1.03 KB
/
SweetNotifications.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 |s|
s.name = "SweetNotifications"
s.version = `agvtool mvers -terse1`
s.summary = "Serializable notifications for iOS Notification Center"
s.description = "Do away with Notification Center's weak stringly typed API."
s.homepage = 'https://github.com/allen-zeng/SweetNotifications'
s.license = 'MIT'
s.author = { "Allen Zeng" => "[email protected]" }
s.source = {
:git => "https://github.com/allen-zeng/SweetNotifications.git",
:tag => s.version }
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.requires_arc = true
s.subspec 'Core' do |ss|
ss.source_files = 'SweetNotifications/*.swift'
ss.frameworks = 'Foundation'
end
s.subspec 'UIKeyboard' do |ss|
ss.ios.source_files = 'SweetNotifications/UIKeyboardNotifications/*.swift'
ss.ios.frameworks = 'UIKit'
ss.dependency 'SweetNotifications/Core'
end
end