Xcode 6找不到cocoapods库 [英] Xcode 6 doesn´t find cocoapods libraries
本文介绍了Xcode 6找不到cocoapods库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试构建一个使用CocoaPods的Xcode 5项目。 POD文件如下:
I am trying to build a Xcode 5 project that uses CocoaPods. The POD file is following:
target "MyProjectName" do
pod 'AFNetworking', '2.2.1'
pod 'SVProgressHUD', '0.9'
pod 'MDHTMLLabel', :head
pod 'CCBottomRefreshControl'
pod 'EXPhotoViewer', '~> 1.1.2'
pod 'NHBalancedFlowLayout', '~> 0.2'
pod 'SevenSwitch', '~> 1.3.0'
pod 'REFormattedNumberField', '~> 1.1.5'
end
cocoapods正在正确安装和更新。
The cocoapods is installing and updating correctly.
错误是:找不到库,就像我的.pch中突出显示的库一样:
The error is: Did not find the libraries, like the one highlighted in my .pch:
#import "SVProgressHud.h"
...
/Users/xyz/Documents/Projects/avbc/repo/ios/project/ProjectName-Prefix.pch:17:13: 'SVProgressHud.h' file not found
我已经从下面的解决方案中完成了pod的重新安装步骤,但未成功:
带有Xcode 6和10.10 Yosemite的椰壳动物
I already did the pod reinstalling steps from solution below, without success: Cocoapods with Xcode 6 and 10.10 Yosemite
我应该怎么做才能正确构建项目?
What should I do to build my project properly?
推荐答案
Perfom项目清理(Cmd + Shift + K)解决了该问题。
Perfom "Project Clean" (Cmd+Shift+K) to solve the problem.
这篇关于Xcode 6找不到cocoapods库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文