ios - 图片.xcassets : error: Failed to find a suitable device for the type SimDeviceType

标签 ios ios-simulator xcode9-beta ios11 xcode8

当我尝试在模拟器中运行该应用程序时,我持有 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 */

最佳答案

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

关于ios - 图片.xcassets : error: Failed to find a suitable device for the type SimDeviceType,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44418905/

相关文章:

ios - 自动布局:删除 View 时相邻 View 的后备约束

ios - iPhone 6 屏幕尺寸在模拟器上返回 375

xcode - 从命令行安装 iOS 模拟器

Iphone-切换通话状态栏时如何调整 View 大小?

ios - UIImage 不会显示带有白色前景图案的 PNG

ios - 从另一个文件调用函数时如何访问ViewController中的UIView?

ios - 当 URL 不存在时,UIWebview 无法完成加载页面并出现 "page NOT found"错误

ios - cordova 文件传输插件在 ios 模拟器中不起作用

ios - 初始化 MPVolumeView 会导致 iOS 11 beta 3 上的应用程序崩溃

ios - Xcode 9 导出选项如何指定配置文件