ios - `pod install` 之后的空 Pod header 文件夹

标签 ios xcode swift cocoapods

我的应用程序名称 -> 目标 -> build设置 -> 搜索路径 -> header 搜索路径设置为:"${PODS_ROOT}/Headers/Public"

当我运行 pod install 并得到:

$ pod install

Analyzing dependencies
Downloading dependencies
Using Alamofire (3.1.1)
Using AlamofireImage (2.1.0)
Using DateTools (1.7.0)
Using JGProgressHUD (1.3.1)
Using Locksmith (2.0.8)
Using SwiftyJSON (2.3.1)
Using TPKeyboardAvoiding (1.2.10)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 7 dependencies from the Podfile and 7 total pods installed.

但是,我的 Headers 目录仍然是空的。

我遇到的确切错误可以在我之前的问题中看到,该问题已得到解答,但没有真正解决问题,只是让我意识到我的问题是错误的:How do I tell my app where my Pod header files are?

编辑 1

我尝试了一些解决方法,例如这个问题中的策略:Framework did not have a CFBundleIdentifier in its Info.plist我问过,但这似乎只是把 jar 头踢到路上

最佳答案

$ gem uninstall cocoapods
$ gem install cocoapods

将所有内容(包括 crashlytics 和 Fabric)添加为 Pod

$ pod install

请参阅此问题了解更多信息: Framework did not have a CFBundleIdentifier in its Info.plist

关于ios - `pod install` 之后的空 Pod header 文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37581039/

相关文章:

ios - 红色 cocoa pod 文件

ios - 在 swift 的嵌套闭包中正确放置捕获列表

ios - RestKit 并作为 NSManagedObject 保存到 CoreData

ios - 整个 View 的灰度缩放

ios - 我如何才能在整个类(class)中访问约束,而不仅仅是在我设置约束的地方?

ios - Plist 加载中出现奇怪的情况

iOS 递归动画异常

ios - 在 iOS 中,如何使用 Xcode 从 Localizable.strings 中删除语言

ios - 使用 cocoapods 安装 pod 后,Pods 文件夹中没有解析框架

swift - `swift test` 产生 "symbol(s) not found for architecture x86_64"链接器错误