Ich habe Xcode 9.0 und iPhone 7 in meiner Entwicklung verwendet. In meinem .travis.yml
ich hinzugefügt:Warum kann Travis meine Tests nicht ausführen?
language: swift
osx_image: xcode9
script:
- xcodebuild clean test -project BullsEye.xcodeproj -scheme BullsEye
-destination "platform=iOS Simulator,name=iPhone 7,OS=11" CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet
aber wenn ich es in travis laufen bekomme ich diese:
The command "xcodebuild clean test -project BullsEye.xcodeproj -scheme BullsEye
-destination "platform=iOS Simulator,name=iPhone 7,OS=11" CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet" exited with 70.
oder mit 66
.
Ich habe mein Schema Shared
in Xcode gemacht.
Was ist das Problem und wie kann ich es beheben?
In logs bin ich auch immer:
Ineligible destinations for the "BullsEye" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
und
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, OS:11, name:iPhone 7 }
The requested device could not be found because no available devices matched the request.
können Sie einen Link zum vollständigen Anmelden auf travis-ci.org teilen? Wenn es privat ist, können Sie das Protokoll https://gist.github.com kopieren/einfügen? Vielen Dank! –
@DominicJodoin https://Travis-ci.org/orkhanalizade/BullsEye es ist hier –