티스토리 뷰

programming

CocoaPods Error with XCode6

gunnih 2014.11.05 15:16

I found an error with ‘pod install’ after using XCode 6


cannot load such file — xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError)


(I think it’s kind of commend-line tools conflicts between XCode 5 and 6)


To resolve this problem, we had to re-install CocoaPods with following steps.


1. change command Line Tools version to Xcode 6.0 (XCode -> Preferences -> Locations)


2. remove CocoaPods (yes, you can also remove all other versions)

sudo gem uninstall cocoapods

3. install xcodeproj

sudo gem install xcodeproj

4. re-install CocoaPods

sudo gem install cocoapods

After these steps, run ‘pod install’ in working directory.

pod install


댓글
댓글쓰기 폼