79

I just updated the Xcode to version 10.3 (10G8).

Now my project is not run with this error: 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

And the storyboard is now like this: enter image description here

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Ahmadreza
  • 6,950
  • 5
  • 50
  • 69
  • 2
    [Same issue of this.](https://stackoverflow.com/questions/57155654/xcode-10-3-installation) Hope it helps you ~~:) – 刘俊利 Jul 23 '19 at 05:21
  • 1
    https://stackoverflow.com/questions/57172619/firebaseui-phoneauth-firebasephoneauthui-fuicodefield-xib-1-failed-to-find-or I have a similar problem –  Jul 23 '19 at 21:52

3 Answers3

89

Running sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService from terminal solved my problem.

Justin Vallely
  • 5,932
  • 3
  • 30
  • 44
87

I restarted my mac, the problem solved.

z33
  • 1,193
  • 13
  • 24
0

I had the same issue, all i did is

clear constraint, for my case the source was from UITableView, and make sure constraints are attached to safeare not superview. see image

from toolbar on the top go to Editor > Canvas > Layout Rectangle Very important you have to repeat this step 3 times

Quit XCode and reopen it again , all should be fixed

I've noticed this happen when i switch view for different devices 8, 11, 4s

Good luck