我的应用程序名称 -> 目标 -> 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/