将 Alamofire 模块导入我的项目时没有这样的模块 'Alamofire'

No such module 'Alamofire' When Importing the Alamofire Module To My Project

我是新手 IOS 这是我的第一个项目,我想在我的项目中使用 Alamofire 库 我按照所有步骤使用 Cocoapods 安装库,一切都应该正常工作,但我'当我想将库模块导入我的项目时出现此错误 "No such module 'Alamofire'" this is the error I'm getting

this the pod configs

This is the Podfile

如有任何帮助,我们将不胜感激。

从终端

成功安装pods后,您必须从工作空间(.xcworkspace)而不是xcodeproj文件打开项目