Assets.xcassets:-1: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x
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
大吉大利~~