I am using a Mac computer running macOS 15.5 with Xcode version 16.3 (16E140) and an iPhone XS Max on iOS 18.5. When debugging my app on the real device using Xcode, the app gets stuck on the launch screen and fails to proceed to the main interface. There is no output in the Xcode console, and the top of the window continuously shows "attaching to [app name] on [iPhone name]". Here are the details:
- The same issue occurred when the phone was running iOS 18.4.1.
- When I tested on another real device running iOS 17, the app launched and ran normally.
- I’ve tried clearing the cache, but it didn’t help.
- I deleted the ~/Library/Developer/Xcode/iOS DeviceSupport folder, let it re-download the necessary files, and ran the app again, but the issue persists.
I’m currently out of ideas and would appreciate any assistance.