升级High Sierra与Xcode后,打开Storyboard时launchd_sim意外退出求助
Hey there, sorry to hear you're stuck with this super frustrating launchd_sim crash every time you open a Storyboard—total bummer that the usual fixes (even a full Xcode reinstall) didn't do the trick. Let me share some less common but potentially effective solutions that have worked for folks in similar situations:
Clear CoreSimulator Cache & Data
First, make sure Xcode and all simulator processes are fully closed. Then fire up Terminal and run these commands one by one:killall -9 com.apple.CoreSimulator.CoreSimulatorService rm -rf ~/Library/Developer/CoreSimulatorRestart your Mac after this, then open Xcode again—it’ll automatically regenerate the necessary simulator files.
Reset Launch Services Database
Corrupted launch services can cause weird process crashes. Run this Terminal command to reset it:/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain userReboot your Mac and try opening the Storyboard again.
Repair User Permissions
System upgrades sometimes mess up file permissions. Use this Terminal command to reset user permissions (you’ll need your admin password):diskutil resetUserPermissions / $(id -u)Restart your Mac after running this, then test the Storyboard again.
Test with a New User Account
If none of the above works, create a new admin user on your Mac. Log into this new account, open Xcode, and try loading a Storyboard. If it works without crashing, the issue is likely tied to your original user account’s corrupted preferences or cache. You can either migrate your important files to the new account or dig into your original account’s~/Library/Preferencesfolder to delete Xcode/Simulator-related plist files.
If all these steps still don’t resolve the crash, a clean reinstall of High Sierra might be the last resort—but let’s hope it doesn’t come to that!
内容的提问来源于stack exchange,提问作者m4rch

