LoginSignup
5
1

More than 1 year has passed since last update.

【エラー】unable to load standard library for target 'x86_64-apple-macosx11.0'

Last updated at Posted at 2021-12-03

どういうことか

どういうことかわからない。突然出てビルドがコケるようになった。
なんもしてないのに壊れたぞ!
こんな文も出てた。

⚠️ using sysroot for 'iPhoneSimulator' but targeting 'MacOSX'

Xcodeの再起動してもダメだった。

解決策

SwiftLintが原因っぽい。
ターミナルでコレを叩いたら直った。

xcrun --sdk macosx mint run swiftlint

アリガトーッ!!

5
1
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
5
1