热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Images.xcassets:错误:无法为SimDeviceType类型找到合适的设备

如何解决《Images.xcassets:错误:无法为SimDeviceType类型找到合适的设备》经验,为你挑选了2个好方法。

当我尝试在模拟器中运行应用程序时,我持有Xcode 8.3.2和Xcode 9 beta 1,我的项目在Xcode 8.3.2中运行.我得到了以下错误.

Images.xcassets: error: Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-2x with runtime SimRuntime : 10.3 (14E269) - com.apple.CoreSimulator.SimRuntime.iOS-10-3
    Failure Reason: Failed to create SimDeviceSet at path /Users/Mac/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed.
    Underlying Errors:
        Description: Failed to initialize simulator device set.
        Failure Reason: Failed to subscribe to notifications from CoreSimulatorService.
        Underlying Errors:
            Description: Error returned in reply to notification request: Connection invalid
            Failure Reason: Software caused connection abort
/* com.apple.actool.document.notices */

Daniel Toves.. 28

对我来说,这无助于清洁。我必须先运行sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService,然后才能通过模拟器启动该应用



1> Daniel Toves..:

对我来说,这无助于清洁。我必须先运行sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService,然后才能通过模拟器启动该应用


谢谢!清理项目对我来说还不够……我必须运行您建议的命令:)

2> adamup..:

我有这个错误,并通过从Xcode菜单打开模拟器解决它.

Xcode- > Open Developer Tool- >Simulator

一旦模拟器打开并完成启动,我就清理并重建了项目.


推荐阅读
author-avatar
冷向泽
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有