-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
38 lines (32 loc) · 1 KB
/
Copy pathPodfile
File metadata and controls
38 lines (32 loc) · 1 KB
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
platform :ios, '10.0'
use_frameworks!
inhibit_all_warnings!
$env=ENV['COMAPI_XCODE_ENVIRONMENT']
target 'CMPComapiChat' do
if $env == 'production'
pod 'CMPComapiFoundation'
elsif $env == 'agent' || $env == 'development'
pod 'CMPComapiFoundation', :git => 'https://github.com/comapi/comapi-sdk-ios-objc', :branch => 'dev'
else
pod 'CMPComapiFoundation', :path => '/Users/dominik.kowalski/Documents/comapi-sdk-ios-objc'
end
end
abstract_target 'Shared' do
pod 'JWT'
if $env == 'production'
pod 'CMPComapiChat'
elsif $env == 'development'
pod 'CMPComapiChat', :git => 'https://github.com/comapi/comapi-chat-sdk-ios-objc', :branch => 'dev'
elsif $env == 'agent'
src=ENV['BUILD_REPOSITORY_LOCALPATH']
path = "#{src}"
pod 'CMPComapiChat', :path => path
else
pod 'CMPComapiChat', :path => '/Users/dominik.kowalski/Documents/comapi-chat-sdk-ios-objc'
end
target 'ComapiChatSample' do
target 'CMPComapiChatTests' do
inherit! :search_paths
end
end
end