물먹는산세베리아

[error] cocoapod 설치 할 때 /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory 본문

OS/IOS

[error] cocoapod 설치 할 때 /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

suntall 2022. 1. 3. 12:28

Homebrew를 통해 cocoapod설치 할 때 생긴 문제이다.

/usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory

 

해결책

sudo gem install cocoapods

https://stackoverflow.com/questions/31442214/running-pod-setup-gives-me-bad-interpreter-no-such-file-or-directory-error

 

Running pod setup gives me "bad interpreter: No such file or directory" error

Recently I tried to do pod setup and I get this error: -bash: /usr/local/bin/pod: /usr/local/opt/ruby/bin/ruby: bad interpreter: No such file or directory I followed Ray Wenderlich's guide to inst...

stackoverflow.com

여기서 제일 따봉 많은 걸로 해결했다.

'OS > IOS' 카테고리의 다른 글

[error] pod install 했는데 no such file or directory  (0) 2022.01.27
[swift] 직사각형 넓이 구하기  (0) 2022.01.04