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


i'm having trouble cocoapods running travis ci. seems install correctly, xcodebuild script fails

$ set -o pipefail && xcodebuild test -workspace example/uikitplus.xcworkspace -scheme uikitplus-example -sdk iphonesimulator only_active_arch=no | xcpretty -c xcodebuild: error: failed build workspace uikitplus scheme uikitplus-example.     reason: run destination ipad 2 not valid testing scheme 'uikitplus-example'. command "set -o pipefail && xcodebuild test -workspace example/uikitplus.xcworkspace -scheme uikitplus-example -sdk iphonesimulator only_active_arch=no | xcpretty -c" exited 70. 

https://travis-ci.org/jamierevans/uikitplus/builds/54649639

i'm not sure why failing, because can run tests on ipad 2 simulator, using scheme, without issues.

is travis issue or travis script wrong?

i've managed build adding destination xcodebuild command line, e.g. -destination "platform=ios simulator,name=iphone 6"


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -