Using the env vars the Podfile could then look like this:
platform :ios, '9.0' |
|
target 'AeroGearSdkExample' do |
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks |
use_frameworks! |
|
# Pods for AeroGearSdkExample |
# Should contain each individual mobile services |
if ENV['DEV'] |
pod 'AGSCore', :path => '../' |
pod 'AGSAuth', :path => '../' |
pod 'AGSPush', :path => '../' |
else |
pod 'AGSCore' |
pod 'AGSAuth' |
pod 'AGSPush' |
end |
|
target 'AeroGearSdkExampleTests' do |
inherit! :search_paths |
# Pods for testing |
end |
|
target 'AeroGearSdkExampleIntegrationTests' do |
inherit! :search_paths |
# Pods for testing |
end |
end
|
To install released dependencies:
For dev dependencies:
|