Post

Replies

Boosts

Views

Activity

Color issues in Xcode Beta 6 using video material for visionOS
Video materials that showed the colors properly in Xcode beta 2 have a green purple color issues in Xcode beta 6. See attached screen captures. Using code example published by Apple Colors as they should be displayed in the video: Colors as shown in the visionOS simulator: Used sample code provided by Apple's example. https://developer.apple.com/documentation/realitykit/videomaterial
4
0
721
Aug ’23
Dragging coordinates issue in VisionOS
I am attempting to place images in wall anchors and be able to move their position using drag gestures. This seem pretty straightforward if the wall anchor is facing you when you start the app. But, if you place an image on a wall anchor to the left or the wall behind the original position then the logic stops working properly. The problem seems to be the anchor and the drag.location3D orientations don't coincide once you are dealing with wall anchors that are not facing the original user position (Using Xcode Beta 8) Question: How do I apply dragging gestures to an image regardless where the wall anchor is located at in relation to the user original facing direction? Using the following code: var dragGesture: some Gesture { DragGesture(minimumDistance: 0) .targetedToAnyEntity() .onChanged { value in let entity = value.entity let convertedPos = value.convert(value.location3D, from: .local, to: entity.parent!) * 0.1 entity.position = SIMD3<Float>(x: convertedPos.x, y: 0, z: convertedPos.y * (-1)) } }
5
1
1.4k
Sep ’23
The developer disk image could not be mounted on this device
Using Xcode 15.4 beta and VisionPro running visionOS 1.2. When attempting to run the app on device from Xcode getting the following error: The developer disk image could not be mounted on this device. Domain: com.apple.dt.CoreDeviceError Code: 12040 Failure Reason: Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) User Info: { DDIPath = "/Users/<userNameHidden>/Library/Developer/DeveloperDiskImages/xrOS_DDI.dmg"; DVTErrorCreationDateKey = "2024-04-17 02:59:41 +0000"; DeviceIdentifier = "A8F7D57D-4567-400C-BFFA-88880980908"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/<userNameHidden>/Library/Developer/DeveloperDiskImages/xrOS_DDI.dmg"; Options = { MountedBundlePath = "file:///private/var/tmp/CoreDevice_DDI_Staging_501/4584678-8568-4567-5754-4567767/"; UseCredentials = 0; }; "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI; } Any advice would be appreciated
3
0
1.4k
Apr ’24