LoginSignup
2
0

visionOS 1 beta 4 Simulator Runtime (最新版VisionOS エミュレーター)のインストール方法&環境構築

Last updated at Posted at 2023-10-04

はじめに

VisionOSのRuntimeはXcode-betaとは別で新しいバージョンが公開されているので、それを実行するためにXcode-betaで有効化する方法をまとめました。

Xcode-betaのインストール

VisionProのエミュレーターの使用にはXcode-betaのダウンロードが必要になります。
Xcode-betaの使用にはMacが必要です。

Apple - Developer - More Downloads

こちらのサイトの検索窓からXcode-betaと検索してインストールしてください
詳しいインストール方法についてはこちらの記事をご覧ください
VisionProのエミュレーターのインストール方法 -kanakanho

VisionOS Runtimeのインストール

VisinOSのRuntimeも先ほどと同じサイトからダウンロードできます。

こちらのサイトでvisionOSで検索
Apple Developer More Downloads

最新のRuntimeをダウンロード

ターミナルで以下を実行

$ sudo xcode-select -s /Applications/Xcode-beta.app
$ xcodebuild -runFirstLaunch
$ xcrun simctl runtime add "~/Downloads/ダウンロードしたdmg"

成功するとこんな感じのメッセージが表示されます

D: 82336B3A-0A00-4784-A1CF-EB6F68E2F4B6 xrOS (1.0 - 21N5259j) (Ready)

Appleの公式にはsudoなしのコードが書かれていますが、管理者権限がないとこのエラーがでます

xcode-select: error: --switch must be run as root (e.g. `sudo xcode-select --switch <xcode_folder_path>`).

終わりに

VisionProの情報がどんどん公開されて今後が楽しみですね
今はエミュレーターだけですが、エミュレータも更新されていくので新しいものを触っていきましょう!

参考
https://developer.apple.com/documentation/xcode/installing-additional-simulator-runtimes

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0