-
Notifications
You must be signed in to change notification settings - Fork 42
/
Podfile
103 lines (79 loc) · 2.16 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
workspace 'AEPCore'
pod 'SwiftLint', '0.52.0'
def core_main
project 'AEPCore.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'main'
end
def core_staging
project 'AEPCore.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'staging'
end
def core_dev
project 'AEPCore.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'dev-v5.0.0'
end
def testapp_main
project 'TestApps/AEPCoreTestApp.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'main'
end
def testapp_staging
project 'TestApps/AEPCoreTestApp.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'staging'
end
def testapp_dev
project 'TestApps/AEPCoreTestApp.xcodeproj'
pod 'AEPRulesEngine', :git => 'https://github.com/adobe/aepsdk-rulesengine-ios.git', :branch => 'dev-v5.0.0'
end
target 'AEPCore' do
core_main
end
target 'AEPCoreTests' do
core_main
end
target 'AEPSignalTests' do
core_main
end
target 'AEPLifecycleTests' do
core_main
end
target 'AEPIdentityTests' do
core_main
end
target 'AEPIntegrationTests' do
core_main
end
# TestApps project dependencies
target 'TestApp_Swift' do
testapp_main
end
target 'TestApp_Objc' do
testapp_main
end
target 'E2E_Swift' do
testapp_main
end
target 'PerformanceApp' do
testapp_main
end
target 'TestAppExtension' do
testapp_main
end
target 'TestApp_Swift (tvOS)' do
testapp_main
end
target 'TestApp_Objc (tvOS)' do
testapp_main
end
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |bc|
bc.build_settings['TVOS_DEPLOYMENT_TARGET'] = '12.0'
bc.build_settings['SUPPORTED_PLATFORMS'] = 'iphoneos iphonesimulator appletvos appletvsimulator'
bc.build_settings['TARGETED_DEVICE_FAMILY'] = "1,2,3"
end
end
end