Language/iOS,AOS

DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

건담아빠 2023. 11. 3. 12:21

 

 

Xcode Version 15.0.1 업데이트 이후에 앱이 실행이 되지 않고 오류가 발생하였다.

 

DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

 

 

코코아팟 업데이트

xcode에서 업데이트 된 대응코드가 들어가 버전으로 코코아팟 버전을 올려 주어야 한다.

$ sudo gem install cocoapods

 

 

개발중인 프로젝트에서 라이브러리 업데이트

$ pod update

 

버전 확인

 

 

https://github.com/CocoaPods/CocoaPods/issues/12012

 

"Error 'DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead' in Xcode 15 beta 5" · Issu

I've read and understood the CONTRIBUTING guidelines and have done my best effort to follow. Report What did you do? Build with Xcode15-beta5 after pod install What did you expect to happen? Build ...

github.com

 

 

루비 버전 문제가 발생한다면 아래포트팅을 참고하자!

ERROR:  Error installing cocoapods:
There are no versions of cocoapods-downloader (>= 2.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
cocoapods-downloader requires Ruby version >= 2.7.4. The current ruby version is 2.6.10.210.

 

 

https://dchkang83.tistory.com/215

 

Ruby 버전 업데이트

Homebrew 설치 $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" $ brew --version Homebrew 4.1.18 Homebrew/homebrew-core (git revision 58de0d98e4e; last commit 2023-11-03) Homebrew/homebrew-cask (git revisio

dchkang83.tistory.com