forked from Appboy/appboy-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Appboy-iOS-SDK.podspec
54 lines (49 loc) · 2.61 KB
/
Appboy-iOS-SDK.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
Pod::Spec.new do |s|
s.name = "Appboy-iOS-SDK"
s.version = "3.26.1"
s.summary = "This is the Braze iOS SDK for Mobile Marketing Automation"
s.homepage = "http://www.braze.com"
s.license = { :type => 'Commercial', :text => 'Please refer to https://github.com/Appboy/appboy-ios-sdk/blob/master/LICENSE'}
s.author = { "Appboy" => "http://www.braze.com" }
s.source = { :http => "https://github.com/Appboy/appboy-ios-sdk/releases/download/#{s.version.to_s}/Appboy_iOS_SDK.zip" }
s.platform = :ios
s.ios.deployment_target = '9.0'
s.requires_arc = true
s.documentation_url = 'https://www.braze.com/docs'
s.exclude_files = 'AppboyKit/**/*.txt'
s.preserve_paths = 'AppboyKit/**/*.*'
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-ObjC' }
s.default_subspec = 'UI'
s.subspec 'Core' do |sc|
sc.ios.library = 'z'
sc.frameworks = 'SystemConfiguration', 'QuartzCore', 'CoreText', 'WebKit'
sc.source_files = 'AppboyKit/headers/AppboyKitLibrary/*.h', 'AppboyKit/ABKIdentifierForAdvertisingProvider.m', 'AppboyKit/ABKModalWebViewController.m', 'AppboyKit/ABKNoConnectionLocalization.m', 'AppboyKit/ABKLocationManagerProvider.m'
sc.resource = 'AppboyKit/Appboy.bundle'
sc.vendored_libraries = 'AppboyKit/libAppboyKitLibrary.a'
sc.weak_framework = 'CoreTelephony', 'Social', 'Accounts', 'AdSupport', 'UserNotifications'
end
s.subspec 'UI' do |sui|
sui.dependency 'Appboy-iOS-SDK/NewsFeed'
sui.dependency 'Appboy-iOS-SDK/InAppMessage'
sui.dependency 'Appboy-iOS-SDK/ContentCards'
sui.dependency 'Appboy-iOS-SDK/Core'
end
s.subspec 'NewsFeed' do |snf|
snf.source_files = 'AppboyUI/ABKNewsFeed/*.*', 'AppboyUI/ABKNewsFeed/ViewControllers/**/*.*', 'AppboyUI/ABKUIUtils/**/*.*', 'AppboyKit/ABKSDWebImageProxy.m'
snf.resource = 'AppboyUI/ABKNewsFeed/Resources/**/*.*'
snf.dependency 'Appboy-iOS-SDK/Core'
snf.dependency 'SDWebImage', '~>5.0'
end
s.subspec 'InAppMessage' do |siam|
siam.source_files = 'AppboyUI/ABKUIUtils/**/*.*', 'AppboyUI/ABKInAppMessage/*.*', 'AppboyUI/ABKInAppMessage/ViewControllers/*.*', 'AppboyKit/ABKSDWebImageProxy.m'
siam.resource = 'AppboyUI/ABKInAppMessage/Resources/*.*'
siam.dependency 'Appboy-iOS-SDK/Core'
siam.dependency 'SDWebImage', '~>5.0'
end
s.subspec 'ContentCards' do |scc|
scc.source_files = 'AppboyUI/ABKContentCards/*.*', 'AppboyUI/ABKContentCards/ViewControllers/**/*.*', 'AppboyUI/ABKUIUtils/**/*.*', 'AppboyKit/ABKSDWebImageProxy.m'
scc.resource = 'AppboyUI/ABKContentCards/Resources/**/*.*'
scc.dependency 'Appboy-iOS-SDK/Core'
scc.dependency 'SDWebImage', '~>5.0'
end
end