Post

Replies

Boosts

Views

Activity

RealityView in Xcode 15.0 beta 8 gives error - 'init(make:update:attachments:)' is unavailable in visionOS
My code was working in beta 7 but since I updated I'm getting the following error when trying to init a RealityView 'init(make:update:attachments:)' is unavailable in visionOS I'm using: RealityView { content, attachments in // Code ... } update: { content, attachments in // Code ... } attachments: { // Code ... }
7
7
3.1k
Aug ’23
How do you request a review in a volumetric app?
I have a volumetric app. I am trying to present a review prompt using SKStoreReviewController's requestReview(in:) I'm using the code below: if let scene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene { SKStoreReviewController.requestReview(in: scene) } When this code executes, though, I get a crash with the error: Presentations are not permitted within volumetric window scenes. What is the proper way to do this for a volumetric app?
1
2
545
Feb ’24
Using AVAsynchronousKeyValueLoading.load() on an AVAssetTrack gives an error
I'm seeing this error while attempting to compile my VisionOS app under Xcode 26. My existing code looks like: let (naturalSize, formatDescriptions, mediaCharacteristics) = try? await videoTrack.load(.naturalSize, .formatDescriptions, .mediaCharacteristics) This is now giving a compiler error: Type of expression is ambiguous without a type annotation I don't see that anything that was changed or deprecated in the latest version. Also loading the properties individually seems to work fine i.e.: let naturalSize = try? await videoTrack.load(.naturalSize) let formatDescriptions = try? await videoTrack.load(.formatDescriptions) let mediaCharacteristics = try? await videoTrack.load(.mediaCharacteristics)
1
0
63
Jun ’25