2014-09-04 85 views
0

我正在開發iOS應用程序。將Xcode從5.0更新爲5.1後出現構建錯誤

我將Xcode版本從5.0更新爲5.1。 在版本5.0上時,建築物中沒有發生任何問題。但是,更新到5.1後,發生以下錯誤:

ld: library not found for -lPods 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

你能告訴我如何解決這個問題嗎?

+0

在包含Podfile的目錄中重新運行'pod install'。 – 2014-09-04 10:56:02

+0

謝謝你的回覆。我可以解決! – supermonkey 2014-09-04 18:39:14

+0

不錯!我添加了我的評論作爲答案。請接受/註銷它;) – 2014-09-04 18:43:38

回答

0

在含有您Podfile目錄運行

pod install 

重建莢xcodeproj。