Hi,
I have had this issue since I started working again in iOS this year with Xcode 15. What happened to the SwiftUI Previews?
My problem is that they are stuck forever in the Loading screen "Preparing iPhone Simulator for Previews". I now test the code on the actual Simulator and waiting for Xcode 16 to fix this.
The characteristics of my project are:
- Using Swift Package Manager (10+ dependencies)
- Using Unit Tests and Test Plans.
- Using macOS Ventura (reverted from Sonoma because it's even worse)
- Macbook Air M1 - 16GB of RAM.
I have tried everything including:
- Erasing derived data.
- Restarting.
- Reinstalling the whole computer.
- Reverting Sonoma to Ventura.
- Reverting Xcode 15.2 to 15.1 and 15.0.1.
- Using Previews_Provider and #Previews {}
- Using completely empty projects to test previews.
Please help. Thanks