2013-10-30 1 views
17

내 xcode 프로젝트에 창을 추가하려고합니다. 이 오류가 무엇입니까 :Cocoapods로드 할 파일이 없습니다. 오류

LoadError - no such file to load -- xcodeproj/prebuilt/universal-darwin13.0-1.8.7/xcodeproj_ext /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in require' /Library/Ruby/Gems/1.8/gems/xcodeproj-0.14.0/lib/xcodeproj/ext.rb:6 /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in gem_original_require' /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:55:in require' /Library/Ruby/Gems/1.8/gems/xcodeproj-0.14.0/lib/xcodeproj/project.rb:4 /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer/analyzer.rb:488:in compute_target_platforms' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer/analyzer.rb:485:in each' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer/analyzer.rb:485:in compute_target_platforms' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer/analyzer.rb:55:in analyze' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer.rb:171:in analyze' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer.rb:94:in resolve_dependencies' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/user_interface.rb:52:in section' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer.rb:93:in resolve_dependencies' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/installer.rb:86:in install!' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/command/project.rb:38:in run_install_with_update' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/command/project.rb:68:in run' /Library/Ruby/Gems/1.8/gems/claide-0.3.2/lib/claide/command.rb:206:in run' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/lib/cocoapods/command.rb:51:in run' /Library/Ruby/Gems/1.8/gems/cocoapods-0.27.1/bin/pod:19 /usr/bin/pod:23:in load' /usr/bin/pod:23

내 podfile 내용 :

pod 'RestKit', '~> 0.21.0' 

어떤 도움을 주시면 감사하겠습니다!

+0

그게 포함되어 있습니까? –

+0

예, 플랫폼을 사용하여 시도했지만 ..하지만 여전히 작동하지 않습니다. – user2885928

+0

전에도 효과가 있습니까? –

답변

16

나는 또한 이것을보고 있었다. 이 문제를 해결하면

sudo gem install cocoapods && pod install 
+3

나를 위해 문제를 해결하지 못했습니다. (방금 서버를 개봉 자로 업그레이드했는데 cocoapods를 다시 만들고 설치하지 않았을 때 젠킨스가이 오류를 표시합니다. – Vik

+0

https : // github. co.kr/CocoaPods/CocoaPods/issues/1863 – manar

4

마지막으로 해결책을 찾았습니다. 동일한 프로젝트에서 동일한 컴퓨터에서 구형 Xcode4와 새로운 Xcode5를 실행하고 있습니다. 어떤 점에서 나는 명령 줄 도구 (및 iPhone5 시뮬레이터)을 잃어 버린 것처럼 보입니다.

커맨드 라인 도구를 재설치하면 문제가 해결되었습니다.

xcode-select --install 

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

지금 "포드 설치"를 실행 잘 작동 : Xcode - Preferences - Downloads - Components 더 이상 알 수없는 이유로 명령 줄 도구가 없었 엑스 코드 4.6.3 메뉴 항목 때문에, 여기에 또 다른를 설치하는 방법입니다.

3

10.10을 사용 중이고이 오류가 나타나는 경우 (/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55 :) 이것을 시도하십시오

+0

이렇게 해 주셔서 감사합니다. – Snowman

관련 문제