Xcode is not responsive on startup for me when it is trying to reopen the previously open projects/files. This started once I opened a 1.2mb json file and I'm assuming Xcode is trying to parse it at open and doesn't finish. I killed Xcode, restarted, same thing. My advice to the Xcode team is if app is killed twice in a row to not open previously opened files on next start.
I found a quick workaround: simply change the path of the projects/files that are troublesome, ex rename the file or its directory, then reopen Xcode - won't be able to open the file but continues loading.
Post
Replies
Boosts
Views
Activity
I am having the same issue. I am trying to use their new @main approach in SwiftUI and created their example app, and all that shows is a black screen in the simulator. Interestingly the info.plist file has an 'Application Scene Manifest' entry but only with the 'Enable Multiple Windows' and set to YES (?) for an iPhone - weird. Very frustrating. I am using simulator version 12.0 (940.16) and Xcode 12.0 beta 6 (12A8189n)
import SwiftUI
@main
struct TestSwiftUI14MainApp: App {
let persistenceController = PersistenceController.shared
var body: some Scene {
WindowGroup {
ContentView()
.environment(\.managedObjectContext, persistenceController.container.viewContext)
}
}
}