'pod install`后的空Pod标题文件夹

时间:2023-01-17 23:15:08

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

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

When I run pod install and get:

当我运行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.

But, my Headers directory is still empty.

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

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?

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

EDIT 1

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

我已经尝试了一些解决方法,例如这个问题中的策略:框架在我的Info.plist中没有CFBundleIdentifier,但它似乎只是踢了路

1 个解决方案

#1


1  

$ gem uninstall cocoapods
$ gem install cocoapods

Add all things (crashlytics and fabric included) as pods

添加所有东西(包括崩解物和织物)作为豆荚

$ pod install

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

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

#1


1  

$ gem uninstall cocoapods
$ gem install cocoapods

Add all things (crashlytics and fabric included) as pods

添加所有东西(包括崩解物和织物)作为豆荚

$ pod install

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

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