Unity

Unity_ ERROR: Error installing cocoapods:The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with gem install drb -v 2.0.6 and then running the current command again..

JunsC 2024. 7. 10. 22:20
728x90

유니티 IOS Resolver: Failed to install CocoaPods for the current user 에러 발생!!!

AOS 설정 작업을 마치고 이제 IOS 진행하려 하니 위의 문제의 에러가 남

 

ERROR: Error installing cocoapods: The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with gem install drb -v 2.0.6 and then running the current command again drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.

 

아....

sudo gem uninstall cocoapods

sudo gem install cocoapods

rbenv versions => 3.3.0,

ruby -v => 3.3.0

 

rvm 등 구글링해서 나오는 모든 해결방법들을 시도해보았지만 .....

 

전혀 해결이 안되었다.

 

IOS Resolver 하는 유니티가 바라보는 경로는 /usr/local/bin 을 바라보고 있다는 정보만 입수!

 

흠.... 

 

그러던 중!!!

https://forum.unity.com/threads/failed-to-install-cocoapods.489700/

 

Failed to install Cocoapods

Hello, I'm using Unity 5.2.4f and I have installed ruby 1.9.3 on my old Mac with Lion OS X 10.7.5 system on it. When I open Unity project there is an...

forum.unity.com

 

여기에서 해결책을 얻었다..

 

 

 

짜잔!

 

이렇게 하고 다시 IOS 빌드 했더니 성공!!!  와.. 하루 걸렸다..

728x90
"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."