having an issue with Xcode10 - if I create a new single view project and click on the Main.storyboard or Launchscreen.storyboard Xcode notifies me of "An internal error occurred. Editing functionality may be limited."
By limited, it means non-existent. It isn't possible to do anything on the editor page. Looking at the error I get this:
Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS failed to launch, NSUnderlyingError=0x7fc5cec94430 {Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedFailureReason=Failed to boot IBSimDeviceTypeiPad2x (46853B2D-B957-4F56-9B2F-F187C9ABDB4D, iOS 12.1, Shutdown)
Looking in my devices under CoreSimulator - I haven't got any with that UUID. This happens on every single project I attempt to create.
Xcode version is 10.1 (10B61) on Mojave. I cleaned the project, removed DerivedData, I have uninstalled Xcode and reinstalled (including all ~/Library & /Library preferences, caches, receipts etc) but none of these resolved the problem. I also reinstalled MacOS Mojave and then reinstalled Xcode, but again, this didn't solve the issue. I also manually deleted all simulator devices and readded. Again, nada - it's still trying to use that non-existent device: IBSimDeviceTypeiPad2x, even when I select iPhone8 as the editor Device.
iPhone8 selected but error still exists
I'm up the creek without a paddle. It looks like Xcode is trying to use a simulator device that doesn't exist. Does anyone know how I can rectify/fix this?