source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!

def shared_pods
  pod 'Fabric'
  pod 'Crashlytics'
end

def shared_testing_pods
  pod 'Quick'
  pod 'Nimble'
end

####################################
################ iOS ###############
####################################
target 'iOS' do
  platform :ios, '8.0'
  shared_pods
  
  target 'iOSTests' do
    inherit! :search_paths
    shared_testing_pods
  end

  target 'iOSUITests' do
    inherit! :search_paths
    shared_testing_pods
  end
end

####################################
################ tvOS ##############
####################################
target 'tvOS' do
  platform :tvos, '9.0'
  shared_pods
    
  target 'tvOSTests' do
    inherit! :search_paths
    shared_testing_pods
  end

  target 'tvOSUITests' do
    inherit! :search_paths
    shared_testing_pods
  end
end


####################################
################ OSX ###############
####################################
target 'OSX' do
  platform :osx, '10.10'
  shared_pods
  
  target 'OSXTests' do
    inherit! :search_paths
    shared_testing_pods
  end
  
  target 'OSXUITests' do
    inherit! :search_paths
    shared_testing_pods
  end
end
