安裝Cocoapods

雖然不是必備的,這裡仍然推薦安裝Homebrew以及新版的Ruby

下列將安裝HomebrewRubyCocoapods

安裝Homebrew,在Terminal中執行 (詳細資訊)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安裝Ruby,在Terminal中執行

brew install ruby

關閉Terminal並重新開啟,安裝Cocoapods,在Terminal中執行

gem install cocoapods

results matching ""

    No results matching ""