iOS Build在编译时失败,并出现问题“未能找到适用于SimDeviceType类型的设备”。 [英] iOS Build Failed at compile time with issue "failed to find a suitable device for the type SimDeviceType"

查看:110
本文介绍了iOS Build在编译时失败,并出现问题“未能找到适用于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

任何帮助都将不胜感激。

Any help is greatly appreciated.

推荐答案

在XCode更新期间,似乎旧的模拟器进程仍在后台打开。

It seemes 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 Build在编译时失败,并出现问题“未能找到适用于SimDeviceType类型的设备”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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