Cocoapods: LoadError - no such file to load

前端 未结 6 936
天命终不由人
天命终不由人 2020-12-30 00:59

I am trying to add a pod to my Xcode project. I am getting this error:

LoadError - no such file to load -- xcodeproj/prebuilt/universal-darwin13.0-1.8.7/

6条回答
  •  孤独总比滥情好
    2020-12-30 01:46

    Finally found a solution: I'm running old Xcode4 and new Xcode5 in same machine with same projects. At some point I seem to have lost command line tools (and iPhone5 simulator).

    Reinstalling command line tools solved the problem for me. Since Xcode 4.6.3 menu item Xcode - Preferences - Downloads - Components didn't have command-line tools any more for unknown reasons, here is another way to install them:

    xcode-select --install
    
    --install
              Opens a user interface dialog to request automatic installation of the
              command line developer tools.
    

    Now running "pod install" worked just fine.

提交回复
热议问题