小编Mat*_*olo的帖子

Travis无法在xcode8上启动模拟器

我遇到了Travis构建和测试我正在开发的新ios应用程序的问题.

language: objective-c
os: osx
osx_image: xcode8
before_install:
   - pod repo update > /dev/null
   - pod update
   - gem install xcpretty
script:
    - xcodebuild clean test -workspace project.xcworkspace -scheme project -destination "platform=iOS Simulator,name=iPhone 6" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
Run Code Online (Sandbox Code Playgroud)

这是我的.travis.yml,每次我运行Travis都会给我这个错误:

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
        { platform:iOS Simulator, OS:latest, name:iPhone 6 }
    Ineligible destinations for the "project" 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 }
The command …
Run Code Online (Sandbox Code Playgroud)

ios travis-ci xcode8

4
推荐指数
1
解决办法
772
查看次数

标签 统计

ios ×1

travis-ci ×1

xcode8 ×1