How to enable development mode on visionOS?
Asked Answered
M

3

1

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?

Mcmichael answered 3/2 at 3:35 Comment(0)
M
5

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
Mcmichael answered 3/2 at 5:51 Comment(0)
B
7

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
Basicity answered 3/2 at 13:58 Comment(1)
After you enable Developer Mode on the VP, there's a reboot of the VP and a couple of confirmation dialogs, too. Also: if you've updated the VP to visionOS 1.0.2 with the update of about Feb 6 2024, you won't be able to pair to Xcode 15.2. You'll need 15.3 beta (beta 2 worked fine for me).Cherilyncherilynn
M
5

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
Mcmichael answered 3/2 at 5:51 Comment(0)
C
2

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

Cherilyncherilynn answered 4/2 at 5:38 Comment(1)
For now, it's only available to developers with a US-based Apple Developer account, enrolled in the Apple Developer program. (Source: John Gruber, Daring Fireball - [daringfireball.net/linked/2024/02/02/vision-pro-developer-strap)Sepulveda

© 2022 - 2024 — McMap. All rights reserved.