Hi all,
when I am trying to build a preview I am always getting the error "Failed to launch app in reasonable time". When clicking on Diagnostics I get the following report information:
AppLaunchTimeoutError: Failed to launch app ”SwiftUI-Weather.app” in reasonable time
The app ”SwiftUI-Weather.app” did not launch on ”iPhone 15 Pro” in 15 seconds.
bundle identifier: tregnet.SwiftUI-Weather
device name: iPhone 15 Pro
path: /Users/MyUser/Library/Developer/Xcode/DerivedData/SwiftUI-Weather-fvxpuqojpxxuqtbuzmjvlatlmuqy/Build/Intermediates.noindex/Previews/SwiftUI-Weather/Products/Debug-iphonesimulator/SwiftUI-Weather.app
Also clicking on "Generate Report" in the Diagnostics menu is not doing anything for me, even after waiting for a few minutes.
Any help would be appreciated.
Greetings
I have the same problem. The answer is only contains how to generate a report.
Same here. Preview has NOT worked for me since I updated Xcode to version 15, 15.1, 15.1 beta 3. FAIL!
NOTE: In Xcode 15.1 beta 3, the preview window DID show "AppLaunchTimeoutError: Failed to launch app xxxx in reasonable time" in the Diagnostics, but after closing the Diagnostics window (and walking away for several minutes to do some chores), it now surprisingly displays correctly in the Preview window!