-
Notifications
You must be signed in to change notification settings - Fork 13
/
Podfile
40 lines (32 loc) · 1 KB
/
Podfile
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
use_frameworks!
platform :ios, '12.0'
secrets = ["RIAM_CONFIG_URL", "RIAM_APP_SUBSCRIPTION_KEY"]
project 'RInAppMessaging', 'UITests' => :debug
target 'RInAppMessaging_Example' do
pod 'RInAppMessaging', :path => '.'
pod 'SwiftLint', '~> 0.50'
pod 'RSDKUtils', '~> 4.2.0', :testspecs => ['Nimble', 'TestHelpers']
pod 'Shock', '~> 6.1.2'
abstract_target 'Tests-Common' do
pod 'Quick', '~> 5.0'
pod 'Nimble'
target 'Tests'
target 'UITests' do
pod 'Shock', '~> 6.1.2'
end
target 'IntegrationTests'
end
end
post_install do |installer|
system("./configure-secrets.sh InAppMessaging #{secrets.join(" ")}")
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.name == 'RInAppMessaging'
config.build_settings['ENABLE_TESTABILITY'] = 'YES'
end
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_i < 9
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end