$ pod install
Analyzing dependencies
[!] Invalid `CorePlot.podspec` file: undefined method `pre_install' for #<pod::specification name="CorePlot">. Updating CocoaPods might fix the issue.
# from /Users/xxxx/.cocoapods/repos/master/CorePlot/1.4/CorePlot.podspec:23
# -------------------------------------------
#
> s.pre_install do |pod, target_definition|
# Dir.chdir(pod.root) {
# -------------------------------------------
どの文脈で調べても分からない。。。
相変わらず途方にくれそうに、、、
一旦アンインストールすることを決意。
$ cd ~
$ pod repo remove master
[!] repo master does not exist
ん?master が無いと?ひとまず、セットアップを試みた
$ pod setup
Setting up CocoaPods master repo
CocoaPods 0.36.0.beta.1 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Setup completed
ひとまず、コメントに書かれてあるアップデートを実行してみる。$ gem install cocoapods --pre ...上手く行ったようだ。 改めて、CorePlot が入るかやってみた
$ pod install
Analyzing dependencies
CocoaPods 0.36.0.beta.1 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.
Downloading dependencies
Installing CorePlot (1.5.1)
Generating Pods project
Integrating client project
[!] From now on use `CorePlotTest.xcworkspace`.
おおっ!行けた。思うに、一時 CocoaPod を使用せずに、ライブラリを直接取り込む方法にしていて、
その間に OS のバージョンアップとかしたのが原因だろうか?
いずれにせよ、うまく行ってよかった。
0 件のコメント:
コメントを投稿