'pod install`后的空Pod标题文件夹 [英] Empty Pod Headers Folder after `pod install`

查看:946
本文介绍了'pod install`后的空Pod标题文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的AppName - >目标 - >构建设置 - >搜索路径 - >页眉搜索路径设置为:$ {PODS_ROOT} / Headers / Public

My AppName -> Targets -> Build Settings -> Search Paths -> Header Search Paths is set to: "${PODS_ROOT}/Headers/Public"

当我运行pod install并获得:

When I run pod install and get:

$ 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目录仍为空。

But, my Headers directory is still empty.

我所遇到的确切错误可以在我之前的问题中看到,该问题已得到解答,但没有真正解决问题,只是让我意识到我的问题是错误的:如何告诉我的应用程序我的Pod头文件在哪里?

The exact errors I am having can be seen in my earlier question which has been answered but without really solving the problem, just making me realize that my question was wrong: How do I tell my app where my Pod header files are?

编辑1

我尝试了一些解决方法,例如此处的策略问题:框架在其信息中没有CFBundleIdentifier。我问的是plist ,但它似乎只是在路上踢了

I have tried some workarounds such as the tactic in this question: Framework did not have a CFBundleIdentifier in its Info.plist that I asked, but it just seems to kick the can down the road

推荐答案

$ gem uninstall cocoapods
$ gem install cocoapods

添加所有东西(crashlyti)包括cs和面料)作为pods

Add all things (crashlytics and fabric included) as pods

$ pod install

有关详细信息,请参阅此问题:
Framework在其Info.plist中没有CFBundleIdentifier

See this Question for more info: Framework did not have a CFBundleIdentifier in its Info.plist

这篇关于'pod install`后的空Pod标题文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆