0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Xcode】Xcodesで新しいバージョンのXcodeをインストールしたらxedが使えなくなった

0
Posted at

はじめに

おそらく割と使われているであろうXcodes関連で困ったことがあったので記録しておきます。

何が起きたのか

私はいつもコマンドでXcodeを開いてるのですが、Xcodesで新しいXcodeをインストールしたら、コマンドが使えなくなりました。

ちなみにXcodeを開くコマンドはこれです。

xed .

エラー

xcode-select: error: tool 'xed' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

解決方法

Xcode-15.2.0.appはアプリ名です。
XcodesでXcodeをインストールするとXcode-バージョン.appのようになるので、私はこのようになっています。
AppStoreなどからインストールしている方はXcode.appなはずです。

sudo xcode-select -s /Applications/Xcode-15.2.0.app/Contents/Developer

おわり

Xcodesを使ってる人は結構多いと思ってるんですけど、実際どうなんですかね?

Xcodesのリンク置いとく

0
2
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
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?