forked from urbanairship/ios-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Airship.podspec
93 lines (86 loc) · 7.01 KB
/
Airship.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
AIRSHIP_VERSION="14.1.2"
Pod::Spec.new do |s|
s.version = AIRSHIP_VERSION
s.name = "Airship"
s.summary = "Airship iOS SDK"
s.documentation_url = "https://docs.airship.com/platform/ios"
s.homepage = "https://www.airship.com"
s.author = { "Airship" => "[email protected]" }
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.source = { :git => "https://github.com/urbanairship/ios-library.git", :tag => s.version.to_s }
s.module_name = "Airship"
s.ios.deployment_target = "11.0"
s.tvos.deployment_target = "11.0"
s.requires_arc = true
s.default_subspecs = ["Core", "Automation", "MessageCenter", "ExtendedActions"]
s.subspec "Core" do |core|
core.public_header_files = "Airship/AirshipCore/Source/Public/*.h"
core.ios.source_files = "Airship/AirshipCore/Source/ios/**/*.{h,m}", "Airship/AirshipCore/Source/common/**/*.{h,m}", "Airship/AirshipCore/Source/Public/**/*.{h,m}"
core.tvos.source_files = "Airship/AirshipCore/Source/tvos/**/*.{h,m}", "Airship/AirshipCore/Source/common/**/*.{h,m}", "Airship/AirshipCore/Source/Public/**/*.{h,m}"
core.ios.private_header_files = "Airship/AirshipCore/Source/common/**/*+Internal*.h", "Airship/AirshipCore/Source/ios/**/*+Internal*.h"
core.tvos.private_header_files = "Airship/AirshipCore/Source/common/**/*+Internal*.h", "Airship/AirshipCore/Source/tvos/**/*+Internal*.h"
core.ios.resources = "Airship/AirshipCore/Resources/common/*", "Airship/AirshipCore/Resources/ios/*"
core.tvos.resources = "Airship/AirshipCore/Resources/common/*", "Airship/AirshipCore/Resources/tvos/*"
core.ios.exclude_files = "Airship/AirshipCore/Resources/ios/Info.plist", "Airship/AirshipCore/Source/common/AirshipCore.h"
core.tvos.exclude_files = "Airship/AirshipCore/Resources/tvos/Info.plist",
"Airship/AirshipCore/Source/common/AirshipCore.h",
"Airship/AirshipCore/Source/Public/UAActivityViewController.h",
"Airship/AirshipCore/Source/Public/UAChannelCapture.h",
"Airship/AirshipCore/Source/Public/UAJavaScriptCommand.h",
"Airship/AirshipCore/Source/Public/UAJavaScriptEnvironment.h",
"Airship/AirshipCore/Source/Public/UANativeBridge.h",
"Airship/AirshipCore/Source/Public/UANativeBridgeActionHandler.h",
"Airship/AirshipCore/Source/Public/UAPasteboardAction.h",
"Airship/AirshipCore/Source/Public/UAShareAction.h",
"Airship/AirshipCore/Source/Public/UAShareActionPredicate.h",
"Airship/AirshipCore/Source/Public/UAWalletAction.h",
"Airship/AirshipCore/Source/Public/UAWebView.h",
"Airship/AirshipCore/Source/Public/UANativeBridgeExtensionDelegate.h",
"Airship/AirshipCore/Source/Public/UAJavaScriptCommandDelegate.h",
"Airship/AirshipCore/Source/Public/UANativeBridgeDelegate.h"
core.libraries = "z", "sqlite3"
core.frameworks = "UserNotifications", "CFNetwork", "CoreGraphics", "Foundation", "Security", "SystemConfiguration", "UIKit", "CoreData"
core.ios.frameworks = "WebKit", "CoreTelephony"
end
s.subspec "ExtendedActions" do |actions|
actions.ios.public_header_files = "Airship/AirshipExtendedActions/Source/Public/*.h"
actions.ios.source_files = "Airship/AirshipExtendedActions/Source/**/*.{h,m}", "Airship/AirshipExtendedActions/Source/Public/**/*.{h,m}"
actions.ios.private_header_files = "Airship/AirshipExtendedActions/Source/**/*+Internal*.h"
actions.ios.resources = "Airship/AirshipExtendedActions/Resources/*"
actions.ios.exclude_files = "Airship/AirshipExtendedActions/Resources/Info.plist", "Airship/AirshipExtendedActions/Source/AirshipExtendedActions.h"
actions.ios.frameworks = "StoreKit"
actions.dependency "Airship/Core"
end
s.subspec "Location" do |location|
location.ios.public_header_files = "Airship/AirshipLocation/Source/Public/*.h"
location.ios.source_files = "Airship/AirshipLocation/Source/*.{h,m}", "Airship/AirshipLocation/Source/Public/**/*.{h,m}"
location.ios.private_header_files = "Airship/AirshipLocation/Source/*+Internal*.h"
location.ios.exclude_files = "Airship/AirshipLocation/Source/AirshipLocation.h"
location.ios.frameworks = "CoreLocation"
location.dependency "Airship/Core"
end
s.subspec "Automation" do |automation|
automation.ios.public_header_files = "Airship/AirshipAutomation/Source/Public/*.h"
automation.ios.source_files = "Airship/AirshipAutomation/Source/**/*.{h,m}", "Airship/AirshipAutomation/Source/Public/**/*.{h,m}"
automation.ios.resources = "Airship/AirshipAutomation/Resources/*"
automation.ios.exclude_files = "Airship/AirshipAutomation/Resources/Info.plist", "Airship/AirshipAutomation/Source/AirshipAutomation.h"
automation.ios.frameworks = "UIKit"
automation.dependency "Airship/Core"
end
s.subspec "MessageCenter" do |messageCenter|
messageCenter.ios.public_header_files = "Airship/AirshipMessageCenter/Source/Public/*.h"
messageCenter.ios.source_files = "Airship/AirshipMessageCenter/Source/**/*.{h,m}", "Airship/AirshipMessageCenter/Source/Public/**/*.{h,m}"
messageCenter.ios.private_header_files = "Airship/AirshipMessageCenter/Source/**/*+Internal*.h"
messageCenter.ios.resources = "Airship/AirshipMessageCenter/Resources/*"
messageCenter.ios.exclude_files = "Airship/AirshipMessageCenter/Resources/Info.plist", "Airship/AirshipMessageCenter/Source/AirshipMessageCenter.h"
messageCenter.dependency "Airship/Core"
end
s.subspec "Accengage" do |accengage|
accengage.ios.public_header_files = "Airship/AirshipAccengage/Source/Public/*.h"
accengage.ios.source_files = "Airship/AirshipAccengage/Source/**/*.{h,m}", "Airship/AirshipAccengage/Source/Public/**/*.{h,m}"
accengage.ios.private_header_files = "Airship/AirshipAccengage/Source/**/*+Internal*.h"
accengage.ios.exclude_files = "Airship/AirshipAccengage/Source/AirshipAccengage.h"
accengage.ios.resources = "Airship/AirshipAccengage/Resources/**/*"
accengage.dependency "Airship/Core"
end
end