运行操场时出错.无法找到合适的目标设备.(iOS Swift) [英] Error running playground. Unable to find suitable target device. (iOS Swift)

查看:28
本文介绍了运行操场时出错.无法找到合适的目标设备.(iOS Swift)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 XCode 中创建了一个新项目.

I created a new project in XCode.

文件>新建>操场(option+shift+cmd+N)

File > New > Playground (option+shift+cmd+N)

我重新启动了我的 XCode 并重新启动了我的系统,但仍然是同样的错误.

I restarted my XCode and also rebooted my system, but still same error.

推荐答案

尝试导航到 Xcode 菜单Window >> devices (shift+cmd+2) 会弹出一个新窗口.

Try navigating to the Xcode Menu Window >> devices (shift+cmd+2) a new window will pop up.

在左下角,添加一个新的模拟器,特别​​是在现有列表中运行 iOS 8.0 的模拟器.

On the bottom left, add a new simulator, specifically one running on iOS 8.0 to the existing list.

重启 Xcode.

这篇关于运行操场时出错.无法找到合适的目标设备.(iOS Swift)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆