iOS 构建在编译时失败,出现问题“无法找到适合 SimDeviceType 类型的设备" [英] iOS Build Failed at compile time with issue "failed to find a suitable device for the type SimDeviceType"

查看:25
本文介绍了iOS 构建在编译时失败,出现问题“无法找到适合 SimDeviceType 类型的设备"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 iPad Air 上使用 Xcode 10.3 beta 2 运行应用程序时遇到以下编译时间问题,我遇到以下问题.

I am getting following compile time issue when running the app with Xcode 10.3 beta 2 on iPad Air, I am getting the below issue.

Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-2x with runtime SimRuntime : 10.3 (14E5239d) - com.apple.CoreSimulator.SimRuntime.iOS-10-3

非常感谢任何帮助.

推荐答案

在 XCode 更新期间,旧的模拟器进程似乎在后台保持打开状态.

It seems like the old simulator process remained open in the background during an XCode update.

简单运行

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService

在终端可能会解决问题.
不需要清理项目和/或构建文件夹.

in terminal may solve the problem.
There shouldn't be a need for cleaning the project and/or build folder.

这篇关于iOS 构建在编译时失败,出现问题“无法找到适合 SimDeviceType 类型的设备"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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