So, apparently there is an xcrun invocation that handles this:
xcrun simctl --set previews delete unavailable | all
This correctly cleans up the folder without crashing the Previews.
Post
Replies
Boosts
Views
Activity
Facing the same issue.
I just finished updating to Xcode 13.2 from the App Store and now I can't compile my project.
13.2 RC was working fine - but, I deleted it thinking the App Store version would be the same.
Apparently not.
I'm now left with having to re-download Xcode 13.2 from releases, on a 4Mbit line.
I.e., my work day is done before it has even began.
I also need to explain the loss of the work day to my employer.
Thanks Apple for:
not testing your releases
thinking that everybody around the world is on a 200Gbps FTTH line.
So, after trying out the releases section version, it now crashes when I attempt to build the project.
I.e., I now have 3 versions of Xcode, same version number, same build number exhibiting the following behaviors:
App Store version: SPM does not work
Releases downloadable version: Crashes on build
RC version: works
🤷♂️
Same thing here. It is quite amazing how Apple is utterly inconsiderate of small developers.
It seems they've assumed that everyone is a big company with dozens of available devices at hand, at any time, with all iOS versions at the ready.
Perhaps this is the same reason why Xcode is such a huge ***** and that app uploads to the store often fail at low bandwidths. They probably also assume that everyone runs on a fiber optic line or is a Cupertino resident.