Created
February 8, 2016 06:22
-
-
Save kdawgwilk/3e78ab24aec6ec4e5a94 to your computer and use it in GitHub Desktop.
Cross platform podfile with unit/ui test targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment