0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

新しいバージョンのXcodeに切り替えたらSwiftLintを導入しているプロジェクトでビルドが通らなくなった

Posted at

前提

  • Xcode16.1(デフォルトの Xcode に指定)
  • デフォルトに設定した Xcode 以外にも Xcode16.0 もダウンロードされていた
  • SwiftLint: 0.56.1

事象

Xcode16.1 から Xcode16.2 へ移行して、Xcode16.1 は削除したら SwiftLint を導入しているプロジェクトのビルドが通らなくなりました。

エラー内容は以下の通りです。

Plug-in ended with uncaught signal: 5

解決策

以下コマンドを実行して、Xcode を再起動したらビルドが通る様になりました。

sudo xcode-select -s /Applications/Xcode16.2.app/Contents/Developer

※注意
上記コマンドのXcode16.2.appの部分は適宜現在使用している Xcode の名前に置き換えること

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?