Even a brand new SwiftUI app project, created from the template, will not show Vision Pro as a run destination. So far, I can only get new apps created via the visionOS template to run in that simulator. Is that because lines of code like this are required? And how is Xcode determining this if it's not only via project settings or info.plist keys?
@main
struct visionOS_TestApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
ImmersiveSpace(id: "ImmersiveSpace") {
ImmersiveView()
}
}
}
Post
Replies
Boosts
Views
Activity
I had to clear up a lot of disk space (many GBs) for the "registration" to complete. As usual, Apple isn't doing basic error checking/reporting.