any one can comment on how to convert this example to use the new style API . In the 2024 video "wants new In Vision " it was made sound so easy. The Vision Documentation on line only documents the old style API. Any one know when the documentation will be updated to cover the new API functions. Any help to convert a code example like this to be compliant to the ne style API?
example old API.txt
Post
Replies
Boosts
Views
Activity
Why is the general documentation still using the VN prefix and not documenting the new API structures the 2024 video what new in Vision makes it sound so easy but after two days of trying I just let my apps unchanged
its working in beta2 now case closed
all done in beta2 working
latest test result both MAC and iPhone on same ethernet (local area) network here is the ping data average response for 56 bytes 2 ms or better
but still the apps on the Mac gets no connection established
ping 192.168.0.161
PING 192.168.0.161 (192.168.0.161): 56 data bytes
64 bytes from 192.168.0.161: icmp_seq=0 ttl=64 time=2.738 ms
64 bytes from 192.168.0.161: icmp_seq=1 ttl=64 time=1.768 ms
found on ethernet response from ping from the iPhone is better
best WiFi responce
64 bytes from 192.168.0.17: icmp_seq=8 ttl=64 time=34.677 ms
2. best ethernet response
64 bytes from 192.168.0.17: icmp_seq=7 ttl=64 time=5.946 ms
hope this eventually will work best feature in continuity by far
I did the basic and hooked up the MAC to ethernet and or both on same WiFi access point. Used ping to see if the Mac can ping my phone
no problem for ping to see the iPhone on same network
ping 192.168.0.17
PING 192.168.0.17 (192.168.0.17): 56 data bytes
64 bytes from 192.168.0.17: icmp_seq=0 ttl=64 time=65.745 ms
64 bytes from 192.168.0.17: icmp_seq=1 ttl=64 time=76.938 ms
64 bytes from 192.168.0.17: icmp_seq=2 ttl=64 time=95.154 ms
there must be another hidden configuration issue preventing it to work. It looks so easy in the presentation
thank for the feedback So both iPhone and MAC have to be connected to ethernet? Or is same WiFi access OK.
xCode 16.0 can see my phone over WiFi is there any other dependency or permission issue preventing it to work
I will check connecting both phone and Mac to ethernet and report back
did you get it to work?
Yea I found it and open or launching it nothing happens. There must be an access permission configuration issue. I can't find any documentation on the application. and help on the new OS provides no hint. xCode 16.0 however connects to my iPhone over WiFi running iOS 18.0. the event video makes it look so easy. I guess once configured properly it may be as easy as it looked in the video.
Found the iPhone mirroring APPs thank you. But nothing happens I have my phone and MAC on the home wifi is there any setup or configuration?
workaround
I did a uninstall of xCode 15 release candidate and beta8
at ~/Library
Deleted all cash folders related to xCode
Deleted developer Folder
Restart
download xCode 15 beta8
installed beta8 only
configured visionPro platform
and bingo now runtime visionPro beta3 downloading worked
and all is well
when replacing the code in modelvew as suggested clears the compiler errors everyone is experiencing but nothing shows
when the build is running the apps on visionPro simulator
running the apps producing these errors but nothing becomes visible in the simulator
nw_socket_copy_info [C1:2] getsockopt TCP_INFO failed 102
nw_socket_copy_info getsockopt TCP_INFO failed 102
AddInstanceForFactory: No factory registered for id <CFUUID 0x6000002723e0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
Sorry forgot to mention this the instant crash error
error seems to be some what bogus any way :
Command CodeSign failed with a nonzero exit code
yes working in beta5 and better Preformance on some scans perfect