forked from Leanplum/Rondo-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
50 lines (40 loc) · 1.06 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
# Uncomment the next line to define a global platform for your project
platform :ios, '11.0'
def use_lp_source
pod 'Leanplum-iOS-SDK', :path => '../Leanplum-iOS-SDK'
pod 'Leanplum-iOS-Location', :path => '../Leanplum-iOS-SDK'
# pod 'Leanplum-iOS-LocationAndBeacons', :path => '../Leanplum-iOS-SDK'
end
def use_lp_release
version = ENV['LEANPLUM_SDK_VERSION']
if version == nil
version = "6.4.1"
end
pod 'Leanplum-iOS-SDK', version
pod 'Leanplum-iOS-LocationAndBeacons', version
end
def shared_pods
pod 'Eureka'
end
target 'Rondo-iOS' do
use_frameworks!
# Release pods
# use_lp_source
use_lp_release
# Shared pods
shared_pods
end
target 'RichPush' do
use_frameworks!
platform :ios, '10.0'
pod 'CTNotificationService'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end