我的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 install
有关更多信息,请参阅此问题:Framework did not have a CFBundleIdentifier in its Info.plist