的CocoaPods找不到头X code 6 [英] Cocoapods can't find header xcode 6
问题描述
我有一个问题x code不能找到我的豆荚的头在我的wokspace。
I have a problem xcode can't find the headers of my pods in my wokspace.
目标的头搜索路径似乎确定
The headers search path for the target seems ok
下面是我podfile的含量
Here is the content of my podfile
target "MyApp" do
pod 'AFNetworking', '~> 2.0'
pod 'Reachability'
pod 'ViewDeck', '2.2.11'
pod 'MBProgressHUD', '~> 0.8'
end
但是,当我生成项目,我有在prefix.pch此错误
But when i build the project i have this error in the prefix.pch
/用户/...../ MyApp- prefix.pch:17:13:'AFNetworking.h找不到文件
/Users/...../MyApp-Prefix.pch:17:13: 'AFNetworking.h' file not found
我已尝试添加平台:IOS,8.0
在我的podfile并做了荚更新
,但仍然没有运气
I have tried to add platform :ios, "8.0"
in my podfile and do a pod update
but still no luck
我也尝试添加$(继承)像SO问题建议:
<一href=\"http://stackoverflow.com/questions/25997871/x$c$c-6-doesn%C2%B4t-find-cocoapods-libraries\">X$c$c 6 doesn't发现的CocoaPods库
I have also tried to add $(inherited) like suggested in the SO question : Xcode 6 doesn´t find cocoapods libraries
我用x code 6小牛
I'm using xcode 6 on mavericks
推荐答案
我找到了解决办法。在项目的属性替换这样的:
I found solution. In your project properties replace this:
这篇关于的CocoaPods找不到头X code 6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!