欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  移动技术

Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x

程序员文章站 2022-07-09 20:29:03
Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x 不知道assets发生了什么~~可能是我直接从另一个的项目拷贝进来的assets 方案一: 重启治百病 方案二: 1. ki ......

assets.xcassets:-1: failed to find a suitable device for the type ibsimdevicetypeipad2x

不知道assets发生了什么~~可能是我直接从另一个的项目拷贝进来的assets

方案一:

重启治百病

方案二:

1. kill模拟器进程

sudo killall -9 com.apple.coresimulator.coresimulatorservice

2.设置xcode path:

sudo xcode-select -s /applications/xcode.app/contents/developer

3. 重启模拟器

xcrun simctl erase all

 

大吉大利~~