How to enable development mode on visionOS?

2.1k Views Asked by At

I want to build my visionOS app to my Vision Pro for the first time. There is no cable or any way to physically connect the device to my MacBook, so how do I do it?

3

There are 3 best solutions below

0
On BEST ANSWER

On the Vision Pro:

  • Go to Settings > General > Remote Devices and select your computer

On your Mac:

  • Go to Xcode > Window > Devices and Simulators
  • Find your Vision Pro in the Devices list on the left
  • Pair your Vision Pro using the code seen in the Settings app in Vision Pro
1
On

There’s a $300 strap to connect your Vision Pro to your Mac, providing a hardwired USB-C connection (debugging, testing) that’s locked to only be purchasable through your developer account. (bottom of page https://developer.apple.com/visionos/resources/). Mailorder only, no in-store pickup.

via @heckj

1
On

You must have an Apple Silicon Mac, then follow the steps below.

Connect to same wifi network

  1. On Vision Pro

    • Settings > General > Remote Devices
  2. On Mac

    • Xcode -> Devices & Simulators -> Select the Vision Pro &
      enter the code

    • Run a build targeted at your vision pro device which should now be a run destination

(Developer mode setting wasn't visible till I did this), you will get an error saying developer mode is not enabled.

  1. On Vision Pro

    • Privacy & Security > Developer Mode