大佬教程收集整理的这篇文章主要介绍了ios – Travis无法在xcode8上启动模拟器,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
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
这是我的.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 "xcodebuild clean test -workspace project.xcworkspace -scheme project -destination "platform=iOS Simulator,name=iPhone 6" CODE_SIGNING_required=NO ONLY_ACTIVE_ARCH=NO" exited with 70.
我也尝试将模拟器的id设置为相同的结果.
请注意,相同的xcodebuild命令在我的工作区中没有任何问题.
如果您的应用是全新的,则iOS部署目标可能设置为10.1. Travis提供的最新图像Xcode 8.0,其中还没有iOS 10.1模拟器.
以上是大佬教程为你收集整理的ios – Travis无法在xcode8上启动模拟器全部内容,希望文章能够帮你解决ios – Travis无法在xcode8上启动模拟器所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。