“pod install”

时间:2016-06-02 00:54:17

标签: ios xcode swift cocoapods

我的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我问过,但它似乎只是把路上的东西踢了出来

1 个答案:

答案 0 :(得分:1)

$ gem uninstall cocoapods
$ gem install cocoapods

添加所有内容(包括崩解物和布料)

$ pod install

有关详细信息,请参阅此问题: Framework did not have a CFBundleIdentifier in its Info.plist