This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZappPushPlugins.podspec
51 lines (43 loc) · 1.61 KB
/
ZappPushPlugins.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
Pod::Spec.new do |s|
s.name = "ZappPushPlugins"
s.version = '4.0.2'
s.platform = :ios, '9.0'
s.summary = "ZappPushPlugins"
s.description = "ZappPushPlugins container."
s.homepage = "https://github.com/applicaster/ZappPushPlugins-iOS"
s.license = 'CMPS'
s.author = "Applicaster LTD."
s.source = {
"http" => "https://dl.bintray.com/applicaster-ltd/pods/ZappPushPlugins_Framework_4.0.2_00449a417abb75cfbcd8cdacfcf110e0d92268be.zip"
}
s.requires_arc = true
s.default_subspec = 'Lite'
# required for all subspecs
s.subspec 'Lite' do |lite|
lite.dependency 'ZappPushPlugins/UrbanAirship'
end
s.subspec 'Basic' do |basic|
basic.dependency 'ZappPlugins', '~> 5.0.0'
end
s.xcconfig = {
'SWIFT_VERSION' => '4.1',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'ENABLE_BITCODE' => 'YES',
'OTHER_CFLAGS' => '-fembed-bitcode'
}
#--------------SUBSPECS--------------
s.subspec 'UrbanAirship' do |ua|
ua.vendored_frameworks = 'ZappPushPluginUrbanAirship.framework'
ua.dependency 'ZappPushPlugins/Basic'
ua.dependency 'UrbanAirship-iOS-SDK', '~> 8.6.3'
end
s.subspec 'UrbanAirshipAppExtensions' do |ua_extensions|
ua_extensions.xcconfig = {
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AIRSHIP_EXTENSIONS_ENABLED=1',
'OTHER_SWIFT_FLAGS' => '$(inherited) -DAIRSHIP_EXTENSIONS_ENABLED=1',
'ENABLE_BITCODE' => 'YES'
}
ua_extensions.dependency 'UrbanAirship-iOS-AppExtensions'
end
end