Раскадровка не работает после обновления Xcode до версии 10.3 (10G8) и приложение больше не работает - программирование

Раскадровка не работает после обновления Xcode до версии 10.3 (10G8) и приложение больше не работает

Я только что обновил Xcode до версии 10.3 (10G8).

Теперь мой проект не запускается с этой ошибкой: enter image description here

/* com.apple.actool.errors */
: error: 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
    Failure Reason: Failed to create new simulator device that matches IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) for runtime iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4 (Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4)
    Underlying Errors:
        Description: Invalid runtime: com.apple.CoreSimulator.SimRuntime.iOS-12-4
/* com.apple.actool.compilation-results */
/Users/xxx/Library/Developer/Xcode/DerivedData/xxxxx-dxlvvymxzdfqjubnuntqlxggtyja/Build/Intermediates.noindex/xxxxx.build/Debug-iphonesimulator/xxxxx.build/assetcatalog_generated_info.plist

И раскадровка теперь такая: enter image description here

4b9b3361

Ответ 1

Я перезапустил мой Mac, проблема решена.

Ответ 2

Запуск sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService из терминала решил мою проблему.

Ответ 3

sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService является идеальным решением. Попробуйте это в терминале.