LoginSignup
3
3

More than 5 years have passed since last update.

pod intall と git pull でエラー "git-sh-setup: No such file or directory" Xcode6-Bate6 Yosemite

Last updated at Posted at 2014-08-29

Xcode6-Bate6を使って開発していたところ pod install が上手くいかなかった。
環境はXcode6-Bate6、OSX 10.10 Yosemite(Preview 6)、iTerm2
下記のエラーが発生。

エラー

$ pod install
Setting up CocoaPods master repo
Setup completed (read-only access)
Analyzing dependencies
[!] An error occurred while performing 'git pull' on repo 'master'.
[!] /usr/bin/git pull --ff-only

/Applications/Xcode6-Beta6.app/Contents/Developer/usr/libexec/git-core/git-pull: line 11: git-sh-setup: No such file or directory

git pull を行った際も同様のエラーが発生した。

$ git pull
/Applications/Xcode6-Beta6.app/Contents/Developer/usr/libexec/git-core/git-pull: line 11: git-sh-setup: No such file or directory

解決策

原因は不明だがOSX 10.10 Yosemite(Preview 6)でのiTerm2で起こる。
Terminalを使用すると pod install が正常に行えた。

参考
OSX 10.10 yosemite beta on git pull: git-sh-setup: No such file or directory
http://stackoverflow.com/questions/24022582/osx-10-10-yosemite-beta-on-git-pull-git-sh-setup-no-such-file-or-directory/24051529#comment37102830_24048895

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3