我的方案中只有 pods Xcode 工作区,没有其他产品,例如我的应用程序图标

I have only pods in my scheme in Xcode workspace not other products like my app icon

我在 Yosemite 中有一个项目使用 cocoa pods 工作区打开它,在我更新到 Sierra 后,只有 pods 内容可用,我的文件是在 Xcode inspector

中的 xcodeproj 文件下不存在

here is the image

安装 pod 时,必须关闭当前的 fileProject "yourProgramName.xcodeproj" => 安装后 pods 已经 xcode 生成扩展名为“.xcworkspace”的文件,您必须打开它。