visionOS

RSS for tag

Discuss developing for spatial computing and Apple Vision Pro.

Posts under visionOS tag

200 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

iOS 17 AR QuickLook: Support for multiple UV channels
Is there support for using multiple UV channels in AR QuickLook in iOS17? One important use case would be to put a tiling texture in an overlapping tiling UV set while mapping Ambient Occlusion to a separate unwrapped non-overlapping UV set. This is very important to author 3D content combining high-resolution surface detail and high-quality Ambient Occlusion data while keeping file size to a minimum.
2
0
1.4k
Aug ’23
Does the Apple Vision Pro have GPS?
Hi, I was wondering after watching the WWDC23 session, Meet Core Location for spatial computing, does the Apple Vision Pro have GPS? Or does it provide Core Location functionality via Wi-Fi? Also, in Unity, we use Input.location to get latitude and longitude. When developing in Unity with Apple Vision Pro, do we use Input.location to get latitude and longitude? Best regards. Sadao Tokuyama https://1planet.co.jp/ https://twitter.com/tokufxug
7
0
2.9k
Feb ’24
Sample Code for visionOS Metal?
There is a project tutorial for visionOS Metal rendering in immersive mode here (https://developer.apple.com/documentation/compositorservices/drawing_fully_immersive_content_using_metal?language=objc), but there is no downloadable sample project. Would Apple please provide sample code? The set-up is non-trivial.
4
1
2.2k
Sep ’23
Registering simulator runtime with CoreSimulator failed. when Downloading and Installing VisionOS Simulator from XCode-beta
Registering simulator runtime with CoreSimulator failed. Domain: DVTDownloadableErrorDomain Code: 29 User Info: { DVTErrorCreationDateKey = "2023-06-22 17:40:21 +0000"; } The service used to manage runtime disk images (simdiskimaged) crashed or is not responding Domain: com.apple.CoreSimulator.SimError Code: 410 System Information macOS Version 13.4.1 (Build 22F82) Xcode 15.0 (22181.22) (Build 15A5161b) Timestamp: 2023-06-22T12:40:21-05:00 How to Recreate: Download XCode-beta Create VisionProApp Click on top where it says visionOS not installed Wait for it to download Get above error Hope someone can help!
6
2
18k
Oct ’23
visionOS simulator on the iPadOS device
I was starting to test visionOS SDK on an existing project that has been running fine on iPad (iOS 17) with Xcode 15. It can be configured to run on visionOS simulator on a MacBook that runs M1 chip without any change in Xcode’s project Build Settings. However the Apple Vision Pro simulator doesn’t appear when I run Xcode 15 on Intel MacBook Pro, unless I change the SUPPORTED_PLATFORMS key on the Xcode’s project Build Settings to visionOS. Although, I can understand that a MacBook pro running M1 / M2 chip would be the ideal platform to run the visionOS simulator, it’s so much better if we can run the visionOS simulator on iPadOS, as it has the same arm64 architecture, and it has all the hardware needed to run camera, GPS, and Lidar. The Mac is not a good simulator, even though it has an M1 / M2 chip, first of all: It doesn’t have a dual facing camera (front and back) It doesn’t have a Lidar It doesn’t have GPS It doesn’t have a 5G cellular radio It’s not portable enough for developers to design use cases around spatial computing Last but not least, I have problems or not very clear on simulating ARKit with actual camera frames on a VisionPro simulator, while I would estimate this can be simulated perfectly on an iPadOS. My suggestion is to provide us developers with a simulator that can be run on iPadOS, that will increase developers adoption and improve the design and prototyping phase of apps running on the actual Vision Pro device.
4
2
2.4k
Sep ’23
VisionOS Set Default Window Size
Is it possible to specify a default window size for a 2D window in visionOS? I know this is normally achieved by modifying the WindowGroup with .defaultSize(width:height:), but I get an error that this was not included in "xrOS". I am able to specify .defaultSize(width:height:depth:) for a volumetric window, but this doesn't have any effect when applied to a 2D one.
10
3
3.4k
Dec ’23
Swipe / Long-press gestures in visionOS simulator
I have an iPad app I've just started testing in visionOS and it's gone pretty good so far except one issue, none of the long-press or swipe gestures in my List work. The app is SwiftUI based. so I'm using a List with the swipeActions and contextMenu modifiers. Could these be broke, unsupported or am I not understand how to initiate these in the simulator? For a long press I'd assume just holding down on the mouse button should work. This appears to work in Safari.
3
0
817
Jan ’24
Vision Pro install crashed dyld_process_snapshot_get_shared_cache failed
Translated Report (Full Report Below) Incident Identifier: 65E8ECA4-02EA-4B3C-ABF6-1D403C816375 CrashReporter Key: 023C6B08-044C-AF61-DEC5-A0D76D107688 Hardware Model: MacBookPro17,1 Process: BossXX-RD [75031] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/9DD37986-B14F-4D2F-A5AC-E66A3D3B079F/data/Containers/Bundle/Application/4108A013-C774-4CD3-A2E2-0FCCE31CA5D0/BossXX-RD.app/BossXX-RD Identifier: com.***.*** Version: 11.120 (11.120) Code Type: X86-64 (Native) Role: Foreground Parent Process: launchd_sim [74675] Coalition: com.apple.CoreSimulator.SimDevice.9DD37986-B14F-4D2F-A5AC-E66A3D3B079F [157714] Responsible Process: SimulatorTrampoline [3052] Date/Time: 2023-06-25 19:54:36.0512 +0800 Launch Time: 2023-06-25 19:54:26.2936 +0800 OS Version: macOS 13.4 (22F66) Release Type: User Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x000000010f36654c Termination Reason: SIGNAL 9 Killed: 9 Terminating Process: debugserver [75046] Triggered by Thread: 0 Thread 0 Crashed: 0 ??? 0x10f36653c ??? 1 ??? 0x10f3c5280 ??? 2 dyld 0x20f74421a dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 968 3 dyld 0x20f742abc dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 249 4 dyld 0x20f7423bd start + 1805 Thread 1:: com.apple.rosetta.exceptionserver 0 ??? 0x7ff7fff3c694 ??? Thread 2:: com.apple.rosetta.debugserver 0 ??? 0x7ff7fff3c694 ??? Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000001 rbx: 0x00000003161e8e48 rcx: 0x000000011795a000 rdx: 0x00000003161e8ad0 rdi: 0x0000000000000000 rsi: 0x0000000000000001 rbp: 0x00000003161e8b80 rsp: 0x00000003161e8ac8 r8: 0x0000000000000000 r9: 0x0000000000000001 r10: 0x0000000000000000 r11: 0x00000001177dd740 r12: 0x00000003161e8ae0 r13: 0x00000001177df960 r14: 0x0000000000000000 r15: 0x0000000000000001 rip: rfl: 0x0000000000000283 tmp0: 0x000000020f73dd03 tmp1: 0x0000000000000003 tmp2: 0x000000020f770340 Binary Images: 0x20f73c000 - 0x20f7d7fff dyld () <9e98a840-a3ac-31c1-ab97-829af9bd6864> /usr/lib/dyld 0x11795a000 - 0x1179c2fff dyld_sim () /Volumes/VOLUME//dyld_sim 0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ??? Error Formulating Crash Report: dyld_process_snapshot_get_shared_cache failed EOF Model: MacBookPro17,1, BootROM 8422.121.1, proc 8:4:4 processors, 16 GB, SMC Graphics: Apple M1, Apple M1, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Display: PHL 272B7QPJ, 2560 x 1440 (QHD/WQHD - Wide Quad High Definition), MirrorOff, Online Memory Module: LPDDR4, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 12 2023 05:52:26 version 18.20.383.14.7.8.149 FWID 01-1469d19d Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Network Service: iPhone, Ethernet, en9 USB Device: USB31Bus USB Device: USB3.0 Hub USB Device: USB2.0 Hub USB Device: iPhone USB Device: Apple Watch Magnetic Charging Cable USB Device: USB 2.0 BILLBOARD USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.
2
1
627
Oct ’23
Suggested guidance for creating MV-HEVC video files?
After taking a look at the Deliver Video Content for Spatial Experiences session, alongside the Destination Video sample code, I'm a bit unclear on how one might go about creating stereoscopic content that can be bundled up as a MV-HEVC file and played on Vision Pro. I see the ISO Base Media File Format and Apple HEVC Stereo Video format specifications, alongside new mvhevc1440x1440 output presets in AVFoundation, but I'm unclear what sort of camera equipment could be used to create stereoscopic content and how one might be able to create a MV-HEVC using a command-line tool that leverages AVFoundation/VideoToolbox, or something like Final Cut Pro. Is such guidance available on how to film and create this type of file? Thanks!
6
8
4.2k
Oct ’23