Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storyboard broken after updating Xcode to version 10.3 (10G8) & app no longer is running

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

like image 950
Ahmadreza Avatar asked Jul 23 '19 04:07

Ahmadreza


People also ask

How do I pull up the storyboard in Xcode?

EDIT: I've since discovered (thanks to this tutorial) that there's a 'preview' option in Xcode. To get this, open the storyboard, click the 'assistant' editor, click the 'assistant editor menu button' (immediately to the right of the > arrow at the top left of the assistant window) and select Preview.

Should I use storyboard in Xcode?

Another benefit to using Storyboards (over creating views programmatically) is that you get to see what your view will look like at runtime without having to run your app. You can quickly make a change in Interface Builder and immediately see what it'll look like – without waiting for Xcode to compile and run.


2 Answers

I restarted my mac, the problem solved.

like image 192
z33 Avatar answered Sep 28 '22 04:09

z33


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

like image 34
Justin Vallely Avatar answered Sep 28 '22 03:09

Justin Vallely