I have a very simple application with a single view, containing several UILabels. Upon running in Simulator, the Xcode console returns the error:
libM
I got this error by calling .sync
on the main queue which caused a deadlock (DispatchQueue.main.sync {}
). I meant to call .async
.
I went to XCode -> Preferences -> Components Ticked all the simulators and the check box to install updates automatically, and then "check and Install now" and went away for a few hours while they all updated.
Now the problem is gone - so in fact, it's as mentioned. New XCode with Old - non-updated simulators.
What worked for me was to change within general > Deployment Info > Main Interface
to CDVLaunchScreen and do the same within general > App Icons and Launch Images > Launch Screen File
to CDVLaunchScreen as well.
I come from Ionic, so this might not be a problem for those who develop in Swift / Objective-C.
Am seeing this problem. Using Xcode 10.1. Created a brand new project - doesn't do anything except show a white screen. Discovered it was showing up on simulator for older devices. For example, iPad Pro (12.9 inch) and iPad Pro (12.9 inch) (2nd generation) show the problem, but problem is gone for iPad Pro (12.9 inch) (3rd generation). Does not show up for iPhone XR simulator.
Basically seems annoying.
I was facing same problem but I've successfully dropped it with below things:
I hope it will help.
I just installed Xcode 10 Beta and had the same problem. Ran Xcode 9.4.1 and the problem went away.