Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

This seems to be an issue with Cocoapods and will be resolved in a future version. See: https://github.com/CocoaPods/CocoaPods/issues/12012

The problem was that Apple renamed the environmental variable "DT_TOOLCHAIN_DIR" to "TOOLCHAIN_DIR" without any notice as far as I can tell. This broke pod install for CocoaPods when running version 1.12.0. The CocoaPod group fixed this with the latest 1.13.0 version. The only thing you should be aware of is that you have to be using Xcode 15. Xcode 14 still uses DT_TOOLCHAIN_DIR so to be compatible with CocoaPods you must use v1.12.0 with Xcode 14.3.1.

Error (Xcode): DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead
 
 
Q