我的AppName->目标->构建设置->搜索路径->标头搜索路径设置为:"${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,我问过,但这似乎可以解决问题

最佳答案

$ gem uninstall cocoapods
$ gem install cocoapods

将所有内容(包括崩溃解决方案和结构)添加为Pod
$ pod install

有关更多信息,请参见此问题:
Framework did not have a CFBundleIdentifier in its Info.plist

关于ios - 安装“pod”后,清空Pod Headers文件夹,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37581039/

10-12 01:25
查看更多