forked from urbanairship/ios-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AirshipExtensions.podspec
29 lines (25 loc) · 1.7 KB
/
AirshipExtensions.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
AIRSHIP_VERSION="16.10.7"
Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
s.name = "AirshipExtensions"
s.summary = "Airship iOS App Extensions"
s.documentation_url = "https://docs.airship.com/platform/ios"
s.homepage = "https://www.airship.com"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.author = { "Airship" => "support@airship.com" }
s.source = { :git => "https://github.com/urbanairship/ios-library.git", :tag => s.version.to_s }
s.module_name = "AirshipExtensions"
s.requires_arc = true
s.ios.deployment_target = "11.0"
s.default_subspecs = ["NotificationService", "NotificationContent"]
s.deprecated_in_favor_of = "AirshipServiceExtension"
s.subspec "NotificationService" do |notificationService|
notificationService.ios.source_files = "AirshipExtensions/AirshipNotificationServiceExtension/Source/**/*.{h,m}"
notificationService.ios.weak_frameworks = "UserNotifications"
end
s.subspec "NotificationContent" do |notificationContent|
notificationContent.ios.public_header_files = "AirshipExtensions/AirshipNotificationContentExtension/Source/Public/*.h"
notificationContent.ios.source_files = ["AirshipExtensions/AirshipNotificationContentExtension/Source/**/*.{h,m}", "AirshipExtensions/AirshipNotificationContentExtension/Source/Templates/Carousel/**/*.{h,m}", "AirshipExtensions/AirshipNotificationContentExtension/Source/Public/**/*.{h,m}"]
notificationContent.ios.weak_frameworks = "UserNotifications"
end
end