When running Xcode 12.0 beta (12A6159) on both macOS 10.15.5 and the latest Big Sur beta, live preview of SwiftUI designs fail with the following:
AppLaunchTimeoutError: Failed to launch app "DemoApp.app" in reasonable time
The app "DemoApp.app" did not launch on "iPhone Xʀ" in 15 seconds.
Diagnostic output reads as follows:
bundle identifier: com. example.DemoApp
device UDID: BB7A7CF8-7F03-4CB3-A206-7406ACE23305
path: /Users/demo/Library/Developer/Xcode/DerivedData/DemoApp-fnkrhbehrcwouubnnjadkynbkgeh/Build/Intermediates.noindex/Previews/iOS/Products/Debug-iphonesimulator/DemoApp.app
I've tried this with multiple simulator configurations (for example iPhone 11 running iOS 14, iPhone SE running iOS 13 and so on).
I was wondering if anyone else has seen this or has suggestions for ways to solve the problem.