forked from optimizely/swift-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
75 lines (63 loc) · 1.67 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
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
workspace 'OptimizelySwiftSDK.xcworkspace'
def analytics_pods
# pod 'Amplitude-iOS'
# pod 'Google/Analytics'
# pod 'Localytics'
# pod 'Mixpanel-swift', '2.5.7'
end
def linter_pods
# ignore all warnings from all dependencies
inhibit_all_warnings!
pod 'SwiftLint', '0.43.1'
end
def common_test_pods
pod 'OCMock', '3.7.1'
end
target 'DemoSwiftiOS' do
project 'DemoSwiftApp/DemoSwiftApp.xcodeproj/'
platform :ios, '10.0'
use_frameworks!
analytics_pods
linter_pods
#pod 'OptimizelySwiftSDK','3.0.0'
end
target 'DemoSwifttvOS' do
project 'DemoSwiftApp/DemoSwiftApp.xcodeproj/'
platform :tvos, '10.0'
use_frameworks!
linter_pods
#pod 'OptimizelySwiftSDK','3.0.0'
end
target 'DemoObjciOS' do
project 'DemoObjcApp/DemoObjcApp.xcodeproj/'
platform :ios, '10.0'
use_frameworks!
analytics_pods
#pod 'OptimizelySwiftSDK','3.0.0'
end
target 'DemoObjctvOS' do
project 'DemoObjcApp/DemoObjcApp.xcodeproj/'
platform :tvos, '10.0'
use_frameworks!
#pod 'OptimizelySwiftSDK','3.0.0'
end
target 'OptimizelyTests-Common-iOS' do
project 'OptimizelySwiftSDK.xcodeproj/'
platform :ios, '10.0'
common_test_pods
end
target 'OptimizelyTests-Common-tvOS' do
project 'OptimizelySwiftSDK.xcodeproj/'
platform :tvos, '10.0'
common_test_pods
end
# Disable Code Coverage for Pods projects
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
# fix OCMock old iOS8 target warning
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
end
end
end