It was solved by executing the following.
sudo chmod 1777 /Volumes/Macintosh\ HD/private/tmp
linkText - https://stackoverflow.com/questions/40238266/launchd-sim-crashing-could-not-create-temporary-state-directory
Post
Replies
Boosts
Views
Activity
I had the same issue after reinstalling Xcode on my MacBook Pro (15-inch, 2018).
I can install apps on actual device iPhone 8...