0
我在開發中使用了Xcode 9.0和iPhone 7。 在我.travis.yml
我說:爲什麼Travis無法運行我的測試?
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
但是當我在特拉維斯運行它,我得到這個:
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.
或66
。
我在Xcode中制定了我的方案Shared
。
這是什麼問題,我該如何解決?
在日誌中我也越來越:
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 }
和
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.
你能分享一個鏈接到travis-ci.org上的完整日誌嗎?如果它是私密的,你可以在https://gist.github.com上覆制/粘貼日誌嗎?謝謝! –
@DominicJodoin https://travis-ci.org/orkhanalizade/BullsEye它在這裏 –