The App Store Connect page has changed a bit since this. I tried following all the directions as best I could (selecting Game Center in capabilities in Certificates page, adding Game Center capability in XCode, connecting the bundle IDs, and creating a leaderboard). However, when I run the simulator and try to sign in to Game Center, I keep getting the error “Could Not Sign In. This requested operation could not be completed because this application is not recognized by Game Center”. Is there any chance you might know what’s wrong or could make a video on how to add multiplayer while navigating the newer App Store Connect page? Thank you!
@salihsw12 күн бұрын
Select also user management, update your xcode and macos version
@aprildiamond42Ай бұрын
I followed the exact steps. In xCode version 15, the build returns a bunch of errors and I can't see my sticker pack in the simulator.
@davidecastaldi221Ай бұрын
Hey your tutorial was very interesting. I was wondering how would I implement a turn based game? Would it be much different from what you did? Are you going to do something similar?
@johanpire95Ай бұрын
It seems easier than in the 1980's. A home computer was for the richer children, Windows did not exist yet, everything worked with Dos promt. Basic or Basic-A was the programming language, and in class we sat in front of the computer with 3 or 4 students, the rich student with a computer at home (and who could practice at home) had to come up with the program for simple mathematical calculations and enter it at the school computer. The rest of us understood almost nothing. I still remember the line numbers 10,20,30... to be able to insert lines during programming, and a lot of C: strange characters and command words... Actually it was a disaster, Cost of a computer without chain paper-needle printer was 4 up to 6 months wages.. If you see a movie with office scenes from around 1985 you will understand what I mean... Well, today is the big day that, as a 53-year-old father of two sturdy sons, 18 and 20 YO, I downloaded Swift Playgrounds for myself and am going to try it again...😆🙂🤔 😦😱😫
@j0_ztex683Ай бұрын
Thanks Luffy !
@arturuvarov3101Ай бұрын
Man, you're amazing, thank you for your video, I'm struggling with apple GameKit tutorial, but you explained just perfectly. Thanks!
@wadihibrahim12662 ай бұрын
How can I run it on the simulator and my phone at the same time? because I want to test it and it's not working
@AnyoneCanCode2 ай бұрын
Hi! You’ll need to use different Apple IDs for each device/simulator for multiplayer, but otherwise it should work normally. Hope this helps!
@advitiyakumar29523 ай бұрын
hi I am Advitiya and I plan to apply to the Apple Student Swift challenge next year! When did you start coding this app (how many months before the Apple Student Swift Challenge ??) Thank you !
@AnyoneCanCode2 ай бұрын
Hi Advitiya! I usually make my project when the Swift Student Challenge is announced, but there’s nothing stopping you from brainstorming before then. Best of luck with applying next year!
@martodonn3 ай бұрын
I could really use your help creating a vr/augmented realty app for vision pro.
@cooz66833 ай бұрын
please make more video like this!
@rickyyy20063 ай бұрын
Hi sir, just want to know if buying a Vision Pro is going to allow me to build and test Vision Pro applications? On Apple website, it says need a Vision Pro development kit. Thanks a lot
@AnyoneCanCode2 ай бұрын
Hi! Any Vision Pro will work with testing your apps. I’d recommend using the regular Vision Pro since you can connect over WiFi!
@user-wi8kb7bs4b3 ай бұрын
This is awesome and so useful. Great job. Hope to see more!
@Darkienzo14 ай бұрын
Great tutorial man, new to visionOS here and your videos are easy to follow and very informative.
@joetaveras54704 ай бұрын
I am able to load 3d files into the Simulator, but how do I make it such that I can then move those 3D entities around? My 3D files do not load with the white bar underneath like yours. Please advise!
@AnyoneCanCode4 ай бұрын
Hi! This tutorial explains how you can make the object interactive and drag it around. Unlike windows, there won’t be a white bar below the object, but instead you can just click and drag on the object itself. Hope this helps!
@user-jn5eh7xs9k4 ай бұрын
Because this is marketed as a beginner tutorial, you need to slow down and explain each step and function more. I basically just copied your code, but I didn't understand what I was doing and I'm gonna have trouble recreating it.
@AnyoneCanCode4 ай бұрын
This is a beginner tutorial for those who are new to VisionOS development, and there is some required basic knowledge of Swift. I’m trying to strike a balance between keeping the videos short and adding depth to the tutorial! I’ll keep this in mind if I create a more beginner-friendly video. Thanks!
@user-gr2zy7li7f4 ай бұрын
Pro Tip: once project is complete copy all code and paste in VS Code code pilot and have it explain the code line by line to gain deeper insights into concepts, code and frameworks.
@projectembers2 ай бұрын
hello, do you mean github copilot chat?
@JestrStudios4 ай бұрын
Love to see a video now that the AVP is out where you show how to deploy to the headset :)
@rick759164 ай бұрын
Thanks Yuma for sharing this great tutorial! I'm new to both swift and swiftUI, your tutorial addresses many aspects of creating a complete VR application for VisionOS. It is a great starting point for anyone new in this field. It is impressive that know all this stuff at your age!
@AnyoneCanCode3 ай бұрын
Thanks for your kind words!
@mohjb4 ай бұрын
Thank you for the tutorial, it was therapeutic, and it was an opener for what swiftui can do
@iTarek4 ай бұрын
Three months ago, you created this amazing video. You need to create more videos. This is the most useful video I've seen in the field of developing for VisionOS.
@AnyoneCanCode4 ай бұрын
Thanks for your kind words, I’m super glad you find this tutorial useful!
@SaffysCreativityCorner4 ай бұрын
Hi Yuma, I got a question about Reality Composer Project. How do I compress a Reality Composer Project as mine is showing up to 125MB. The file size limit is 25 MB for the Swift Student Challenge Thanks :)
@AnyoneCanCode4 ай бұрын
Hi, you should check your models and textures, and reduce them.
@SaffysCreativityCorner4 ай бұрын
@@AnyoneCanCodeOk thanks. But how do I export the default models within Reality Composer and compress them. OR can I just compress the whole Reality Project
@aryamandarda76544 ай бұрын
Great video! I did have a question. Around 24:50, when I drag the dice inwards so like vertically downwards, it falls through the floor and disappears completely. Any idea as to why this might be happening?
@AnyoneCanCode4 ай бұрын
Thanks! That’s a great point. Since the dice can be dragged anywhere, it is possible to clip it through the ground. This may not be an issue on a physical device, since you can’t phase your hand through the ground 😅 A quick fix would be to set a minimum y-value and prevent the dice’s position from going below that value. Hope this helps!
@mo3k4 ай бұрын
not hating, but just a heads up, you would probably get much more viewers if they could follow along with the source code. paying for source code is not really something most people like to do, especially considering GitHub probably has much more options and bigger open source repos for free. They would rather just tip you if the video was helpful. thanks for the video either way.
@shirpurkar4 ай бұрын
Great tutorial, bro make an adavance level demo. Thanks for your efforts
@aajn884 ай бұрын
On minute 19:36, my dice doesn't fall. I've checked the code several times and seems identical. Not sure if anything has changed since the video. I've also restarted XCode and the simulator but no luck :( do you know what's the issue? Maybe someone else has had this issue?
@AnyoneCanCode4 ай бұрын
Hi! This could be because you haven’t set the dice’s physics body to dynamic. Other than this, it is difficult to know what the issue is, so I would recommend making sure there’s no typos!
@truedesireelements20404 ай бұрын
Thank you I truly hope to create my first app soon. I will search your videos to see if you have anything on Unity to Vision OS? I hope you do, as I like the way you teach... I appreciate you...
@AnyoneCanCode4 ай бұрын
Thank you! I don’t have any Unity tutorials yet, but I’ll definitely consider it!
@maksimkuznetsov99934 ай бұрын
Can I start to create on Windows system?
@AnyoneCanCode4 ай бұрын
Unfortunately, Xcode is only available on Macs.
@laurentcharles71794 ай бұрын
No
@Bruno-fu4hm4 ай бұрын
Hey, did you use a coaching overlay for this App?
@AnyoneCanCode4 ай бұрын
Yes, I did use a coaching overlay view for my WWDC21 project!
@avimah2744 ай бұрын
its amazing what someone in your age can do today online.. good job buddy thank you
@chompskiGG4 ай бұрын
I am trying to make another app using some lessons from this video, but I've run into a problem. When I do the variables similar to your "diceData" the variables only change within their respective files. So if I change, for example, "rolledNumber" in the ImmersiveView it will only change there and the variable will be unchanged in the ContentView. I have "ImmersiveView(spaceData: SpaceData())" in the App file and "var spaceData: SpaceData" in both the ImmersiveView and ContentView. Is there any thing I can try or test to make this work?
@AnyoneCanCode4 ай бұрын
When you write “ImmersiveView(spaceData: SpaceData())”, the brackets “()” after SpaceData will create a new instance of the data, which means that it won’t update the data across your files. You should reference your “spaceData” variable instead, which should solve the issue. Hope this helps!
@chompskiGG4 ай бұрын
@@AnyoneCanCode I actually got it working with an ObservableObject but thank you for the detailed response. Is there anyway to add walls or use the users house (ARKit?) so the objects don't roll forever?
@mtheuma4 ай бұрын
Thank you! This is the best tutorial I've seen on this topic yet. One question, one of Apple's tutorials recommends adding .usd models into a swift package so that they are optimised automatically at run time. Have you tried this? Does it change anything in the way you access and address the model?
@AnyoneCanCode4 ай бұрын
Thanks! If you want to load the model from a swift package, you will need to add an import statement for your package. You can then load the entity using the .entity(named:) function, which will load your .usd model! I would suggest taking a look at Apple’s “Hello World” sample code, which should answer what you’re looking for. Hope this helps!
@jessetilly30304 ай бұрын
Great video and thanks for the help getting started. Is it just me or does the dice hang around after you've closed the app? Is there a cleanup step missing from the app on its closure?
@AnyoneCanCode4 ай бұрын
Thanks! I’m not aware of any cleanup steps for VisionOS apps because garbage collection should be handled automatically. It’s likely to be a bug in the simulator, but could also be something I missed!
@ledezmalove634 ай бұрын
I have a idea really 2 different ideas that would have most likely similar coding for the app ... Could I pay you to make a app for me ?
@184Simon4 ай бұрын
Amazing tutorial, I bought the code and material, and everything works fine on my Macbook. How can I run this app on my real Apple Vision Pro?
@AnyoneCanCode4 ай бұрын
Thanks and congrats on getting a Vision Pro! You can connect Xcode to your Vision Pro over WiFi on the same network. If you open Remote Devices in your Vision Pro settings and go to Devices and Simulators on Xcode, you should be able to pair the device. After that, enable Developer Mode in your AVP’s settings, restart, then run the app from Xcode. Hope this helps!
@lukelavery3134 ай бұрын
Good video. What minimum specs do you recommend for developing with the vision os simulator?
@AnyoneCanCode4 ай бұрын
I’ve found the simulator works best on Apple Silicon Macs!
@ton101_zh4 ай бұрын
16:40 How you know those functions?
@AnyoneCanCode4 ай бұрын
Apple’s documentation is a good resource to know what functions to use! Xcode also has autocomplete which gives you a good hint as to what to use.
@ton101_zh4 ай бұрын
please make more video like this! And especially for non-ever Swift people.
@christopherknowles4 ай бұрын
Nice hat.
@benyao7885 ай бұрын
vision os development is exciting!
@nemesis07205 ай бұрын
hi, can you help me how I can manipulate blend shapes of a usdz file? I would appreciate any advice
@nikokatsantonis16645 ай бұрын
Do you need to be granted an VisionOS devloper kit to actually create apps?
@AnyoneCanCode4 ай бұрын
You don’t need to! You can use the simulator to test your app and then publish it. Of course, you can request to have your app reviewed on a physical Vision Pro, or apply to go to a developer lab (if you’re near one) to try it out yourself!
@stlog5 ай бұрын
Hi, while testing, I get a "player not found" error in the simulator. Why might this happen? I even bought the source code thinking I might be doing something wrong, but it doesn't match.
@AnyoneCanCode4 ай бұрын
Hi! That error is most likely a bug with iOS simulators. I would recommend trying with a physical device if possible. I’ve encountered this issue before, and restarting the simulator helped. It might take a few attempts to get working! Hope this helps!
@lukasrosenke54592 ай бұрын
@@AnyoneCanCode I have this very error too, and thus cannot test my app. Do you know the exact steps to fix this?
@gonzalomenevichian21675 ай бұрын
Great, TY, is any app assistance to create code if we are not a deep programer like you?
@AnyoneCanCode4 ай бұрын
Of course, there are LLMs like ChatGPT or Bard which can assist you with your code. However I strongly suggest that you don’t rely on them when learning how to code!
@1757265 ай бұрын
Thanks!
@AnyoneCanCode5 ай бұрын
You’re welcome, and thanks for this! 😊
@1757265 ай бұрын
Great job, I subscribed and i'm looking forward to your next vision pro lesson. Keep up the great work.
@AnyoneCanCode5 ай бұрын
Thanks for subscribing! I’m glad you liked the tutorial!
@johnpill15 ай бұрын
Exceptional tutorial! Get a quieter keyboard though! :D
@jermanoid5 ай бұрын
Great job. Can't wait to watch more
@stancartmankenny5 ай бұрын
is it possible to just get direct access to the left-eye and right-eye screens, to port an app that is already vr-capable?
@AnyoneCanCode5 ай бұрын
Hi! Are you trying to write directly to the screen? If so, I don’t believe that is possible at the moment. A hacky work-around may be to place head-locked content in front of the user and render your VR content onto there. Otherwise, you can always create an immersive space and add your VR content there! Hope this helps!