Xcode 项目在 Cocoapods 更新后找不到 Bolts/BFTask.h 文件

Xcode project can't find Bolts/BFTask.h file after Cocoapods update

我 运行 我的 Parse 项目没有问题。然而,在我更新到最新版本的 cocoapods 和 运行 pod install 后,Xcode 抛出错误 "Bolts/BFTask.h file not found"。我已经尝试查找其他 cocoapods header 相关问题,并且 none 解决方案有效或与此特定问题有关。如果有人能提供一些指导,我将不胜感激。

步骤:

 sudo gem install cocoapods 
 pod install

终端中 运行 以上命令后出现错误消息,现在 Xcode 无法构建。

解决方案是 "Clean Build Folder" 如果有人遇到过这个问题。只需在产品上按 "option" 键 -> 清洁。