I'm getting this error in the debugger ("Presentations are not currently supported in Volumetric contexts.") in VisionOS when I try to present an alert in a Volume. What's the correct way to present a modal alert in a volumetric window group? I'm using Xcode 15.3 Beta 3 with Apple Vision Pro (1.1) simulator.
This is also preventing me from using the RevenueCat paywall UI since it also returns this error.
var body: some Scene {
WindowGroup {
SheilaAppView()
.presentPaywallIfNeeded(
requiredEntitlementIdentifier: "access",
purchaseCompleted: { customerInfo in
print("Purchase completed: \(customerInfo.entitlements)")
},
restoreCompleted: { customerInfo in
// Paywall will be dismissed automatically if "pro" is now active.
print("Purchases restored: \(customerInfo.entitlements)")
}
)
}.windowStyle(.volumetric)
}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I installed Xcode 26.0 beta and downloaded the generative models sample from here:
https://developer.apple.com/documentation/foundationmodels/adding-intelligent-app-features-with-generative-models
But when I run it in the iOS 26.0 simulator, I get the error shown here. What's going wrong?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
I installed Xcode 26.0 beta and downloaded the generative models sample from here:
https://developer.apple.com/documentation/foundationmodels/adding-intelligent-app-features-with-generative-models
But when I run it in the iOS 26.0 simulator on my Mac (Sequoia 15.5), I get the error shown here. What's going wrong?
Topic:
Developer Tools & Services
SubTopic:
Xcode