How to run Flutter app on Apple Vision Pro, with Apple Vision Pro's "Designed for iPad", you can easily try

insert image description here
Developers have been experimenting with Apple's VisionOS SDK and its possibilities since its launch a few days ago, and likewise, I had a chance to see some people run the Flutter counter example app on VisionPro.

In order for your Flutter app to support VisionOS, here are some basic steps you can take:

prerequisites

You need to download and install XCode Beta 2 supported by VisionOS

The main steps

Create a new Flutter app using the flutter create command, as you would normally do

Open the Runner.xcodeproj file in the XCode Beta 2 you just downloaded.

insert image description here
Click on Target Runner inside the file explorer in Xcode
insert image description here
Although you will see Apple Vision appear in the destinations here,

insert image description here
You will not see the VisionPro simulator in the list of simulators:

Guess you like

Origin blog.csdn.net/iCloudEnd/article/details/131357636