I've recently started learning how to make IOS apps, but when trying to load the preview, it just shows the loading animation indefinitely.
I am running xcode 15.2 (because my mac is a bit old and doesn't run the latest version)
I have tried using version 15.1 but it still doesn't work, only works when I go down to version 14.3.1, but that changes the swift code.