Thanks for the reply!!
Now I want to more clarify with you, I want to select only special video from gallery. Is there any specific type is available to identify the Spatial video like UTType.quickTimeMovie.identifier
if itemProvider.hasItemConformingToTypeIdentifier(UTType.quickTimeMovie.identifier) {
progress = itemProvider.loadFileRepresentation(forTypeIdentifier: UTType.quickTimeMovie.identifier) { [weak self] url, error in }
Post
Replies
Boosts
Views
Activity
Hello @DTS Engineer ,
Thanks for the reply !! I am test and run this code in vision os simulator. So in simulator it was showing me like above apple AR icon, But while run this app in vision device it was working fine.
@Vision Pro Engineer , @Vision Pro Engineer
The code is not entering the loop even though I have cameraFrameUpdates. None of the print statements are executed, and the debugger does not step into the loop. Why is this happening?
@Vision Pro Engineer
The code is not entering the loop even though I have cameraFrameUpdates. None of the print statements are executed, and the debugger does not step into the loop. Why is this happening?
Hello @Vision Pro Engineer
_
ARKit only runs in an immersive space. Is this view in an immersive space? _- Yes (Please review attach files)
Also set com.apple.developer.arkit.main-camera-access.allow = true in plist
https://drive.google.com/file/d/1GjwOEJ-q3H0azu25ZfQf9VH-Qf4QQ3V6/view?usp=sharing
Can you share the console output? What's the last print statement logged? Are there any errors? :
NSBundle file:///System/Library/PrivateFrameworks/MetalTools.framework/ principal class is nil because all fallbacks have failed
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
nw_socket_initialize_socket [C1:2] setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument]
Continue ..... log as below comment
nw_socket_initialize_socket setsockopt SO_NECP_CLIENTUUID failed [22: Invalid argument]
nw_socket_copy_info [C1:2] getsockopt TCP_INFO failed [102: Operation not supported on socket]
nw_socket_copy_info getsockopt TCP_INFO failed [102: Operation not supported on socket]
cannot add handler to 0 from 1 - dropping
cannot add handler to 0 from 1 - dropping
cameraFrameUpdates:: CameraFrameUpdates(stream: Swift.AsyncStream<ARKit.CameraFrame>(context: Swift.AsyncStream<ARKit.CameraFrame>._Context))
Is the app executing on a device running visionOS 2.0? Consider adding a print statement just under "// Fallback on earlier versions" to make sure the code is being executed. : Yes, Code is being executed under vision OS 2.0 : My Xcode version is (Version 16.0 beta (16A5171c))