Xcode升級(jí)新版本后,編譯項(xiàng)目堤尾,突然報(bào)錯(cuò)挚赊, Failed to find a suitable device for the type IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4拨齐。找了一些國(guó)內(nèi)博客中的答案鬓椭,試了沒(méi)效果,最終找到一個(gè)有效的解決辦法娜饵,在終端中執(zhí)行以下命令坡贺,輸入電腦密碼,然后重啟Xcode就好了
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService
完