Post

Replies

Boosts

Views

Activity

Reply to visionOS console warning: Trying to convert coordinates between views that are in different UIWindows
Here is the reproducer. Create a basic visionOS app in Xcode. Place the ContentView in a NavigationView in the app file. Paste the code below in the ContentView When you run the app, press the "EmptyView" button. Click anywhere on the sidebar to see the warning appear in the console. The ContentView code: struct ContentView: View { var body: some View { List { NavigationLink("EmptyView") { EmptyView() } .isDetailLink(false) } .navigationTitle("Views") .navigationBarTitleDisplayMode(.large) } }
Topic: Spatial Computing SubTopic: General Tags:
Dec ’24
Reply to App was crashing in xcode 16 due to Quicklook UI framework
Continuing my previous post here, we submitted a feedback ticket for this: FB15732009. The crash that was posted in the original post that started this thread is slightly different than the crash I am seeing. This is the crash from the original post: Library not loaded: /System/Library/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI The crash I am seeing looks like this: Library not loaded: /System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI The app that is crashing is using a dependency that we own and that dependency is using the quick look preview feature in SwiftUI. Which is probably why the quick look SwiftUI framework is being referenced in the crash log.
Topic: UI Frameworks SubTopic: AppKit Tags:
Nov ’24
Reply to App was crashing in xcode 16 due to Quicklook UI framework
I archived our app using Xcode 16.1 and macOS 15.1, and it still crashes when it is run on macOS Ventura. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: /System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI
Topic: UI Frameworks SubTopic: AppKit Tags:
Nov ’24
Reply to Availablility check is incorrect on visionOS
That is good to know. I actually wanted the body of the if to be executed for visionOS but didn't understand why it was working. Thank you. Can you explain why this situation crashes? Also, I had this similar code that was distriubted via a xcframework and when that view is used in an app that is using the xcframework while running against visionOS there would be a runtime crash (EXC_BAD_ACCESS). The crash could only be reproduced when using that view from the xcframework and not the local source code. The problem was fixed by adding visionOS 1.0 to that availability check. But this shouldn't have been a crash in the first place.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to Pinch gesture not recognized on MTKView when attaching it to a RealityView using a ViewAttachmentComponent in a immersive space
FB24093238
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
18h
Reply to ManipulationComponent causes makeUIView(context:) to get called twice
Thank you for the timely response. Here is the FB number: FB24136129
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
18h
Reply to ManipulationComponent causes makeUIView(context:) to get called twice
On visionOS 26.0.0 makeUIView(context:) will get called four times!
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
3d
Reply to Tapping once with both hands only works sometimes in visionOS
It looks like this was fixed. I see this behavior working as expected now on visionOS 26.4.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Initial presentation of popover hangs when shown from a button in the toolbar
Feedback Report: FB22408197
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to MainActor attribute on RealityKit APIs is causing problems
I submitted a feedback report for this: FB17020606.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Reply to Placement of model inside volumetric window?
I found it helpful to use this on the RealityView.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to Placement of model inside volumetric window?
I am wondering about this as well.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to visionOS console warning: Trying to convert coordinates between views that are in different UIWindows
Here is the reproducer. Create a basic visionOS app in Xcode. Place the ContentView in a NavigationView in the app file. Paste the code below in the ContentView When you run the app, press the "EmptyView" button. Click anywhere on the sidebar to see the warning appear in the console. The ContentView code: struct ContentView: View { var body: some View { List { NavigationLink("EmptyView") { EmptyView() } .isDetailLink(false) } .navigationTitle("Views") .navigationBarTitleDisplayMode(.large) } }
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24
Reply to App was crashing in xcode 16 due to Quicklook UI framework
Continuing my previous post here, we submitted a feedback ticket for this: FB15732009. The crash that was posted in the original post that started this thread is slightly different than the crash I am seeing. This is the crash from the original post: Library not loaded: /System/Library/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI The crash I am seeing looks like this: Library not loaded: /System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI The app that is crashing is using a dependency that we own and that dependency is using the quick look preview feature in SwiftUI. Which is probably why the quick look SwiftUI framework is being referenced in the crash log.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to App was crashing in xcode 16 due to Quicklook UI framework
I archived our app using Xcode 16.1 and macOS 15.1, and it still crashes when it is run on macOS Ventura. Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: /System/iOSSupport/System/Library/Frameworks/_QuickLook_SwiftUI.framework/Versions/A/_QuickLook_SwiftUI
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Availablility check is incorrect on visionOS
Thank you! Here is the crash log. crash_log.txt
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Availablility check is incorrect on visionOS
That is good to know. I actually wanted the body of the if to be executed for visionOS but didn't understand why it was working. Thank you. Can you explain why this situation crashes? Also, I had this similar code that was distriubted via a xcframework and when that view is used in an app that is using the xcframework while running against visionOS there would be a runtime crash (EXC_BAD_ACCESS). The crash could only be reproduced when using that view from the xcframework and not the local source code. The problem was fixed by adding visionOS 1.0 to that availability check. But this shouldn't have been a crash in the first place.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Memory Leak using simple app with visionOS
Updated the original post: If you replace the MetalView() simply with EmptyView() it still shows a memory leak.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to MTKView is now available on visionOS but isn't working on visionOS 1.x
I just ran a visionOS 1.2 simulator that uses a MTKView with Xcode 16 beta 4 and it no longer crashes.
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24