解決MAC系統(tǒng)升級(jí)導(dǎo)致COCOAPODS失效問(wèn)題
使用pod install出現(xiàn)如下錯(cuò)誤
-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory
這是Mac升級(jí)系統(tǒng)導(dǎo)致,當(dāng)你的Mac系統(tǒng)升級(jí)為 high siera的時(shí)候村斟,別忘記更新cocoapods企垦。
執(zhí)行命令:
$ sudo gem update --system
$ sudo gem install cocoapods -n/usr/local/bin