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

ビルドエラー解決方法 ‘DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead’

Last updated at Posted at 2024-06-05

環境
Xcode15.2.0

‘DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead’

Xcodeのバージョンを上げてアプリをビルドする際に上記ビルドエラーが発生しましたのでメモ。

解決方法

ターミナルで対象アプリのディレクトリに移動します。
以下コマンドを実行します。

CocoaPodsのバージョンを確認して、Homebrewでアップデートします。

pod --version
brew upgrade cocoapods
pod --version

Podsディレクトリを削除して、再度pod installします。

rm -rf Pods
pod install

参考

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