Tuesday, 15 February 2011

ios - Travis builds failing - Reason: The run destination iPad 2 is not valid for Testing the scheme 'UIKitPlus-Example' -


I'm having some problem with running my Travis CI with my cocoapods. Everything starts to install properly, but the xcodebuild script fails

  $ set -o pipefile & amp; Amp; Example -workspace xcodebuild exam / UIKitPlus.xcworkspace -scheme UIKitPlus-example -sdk iphonesimulator ONLY_ACTIVE_ARCH = No | Xcpretty -c xcodebuild: Error: Planning UIKitPlus - Failed to create workspace UIKitPlus with example Reason: Walking Destination is not valid for testing the iPad2 plan 'UIKitPlus-Example' command "Set -o pipefail & amp; example -workspace xcodebuild exam / UIKitPlus.xcworkspace -scheme UIKitPlus-example -sdk iphonesimulator ONLY_ACTIVE_ARCH = Exactly with xcpretty -c "70.  

Why not do this, because I can run my tests on the iPad 2 simulator, I'm not sure, using that plan, without any issue.

Is this travis issue or what is wrong with my Travis script?

After

I have managed to get to create it by adding a destination to the Xcodebuild command line, such as < Code> -Nation "platform = iOS simulator, name = iPhone 6"


No comments:

Post a Comment