Xcode 8.0 swift 3.0 错误 Alamofire-swift.h 未找到且无法构建 Objective-C 模块 'Alamofire'

Xcode 8.0 swift 3.0 error Alamofire-swift.h not found and Could not build Objective-C module 'Alamofire'

我将 swift 2.2 项目转换为 swift 3.0。更新我的 pod 文件后,出现此错误。请看附图。

下面是 pod 文件内容:

我不知道是我遗漏了什么导致了这个错误。

谁能帮帮我?

提前致谢。

我建议先用 CMD+Shift+K 清理你的项目,然后用 pod install 确保你的 pods 是正确的。如果这不起作用,请检查涉及清除 pods 的 this question。每当我的 pods 变得不稳定时,我都会将它们清除并重新安装。

只需打开终端并添加项目路径和 pod deintegrate 之后只需 pod install