首页 > 解决方案 > 错误没有这样的模块'GoogleSignIn'Xcode 10.2

问题描述

我更新了 cocoapods 并重新安装了 pod,然后我的目标中的框架出现了一个红色和白色的目标符号 我的目标

我以前安装了“GoogleSignIn”cocoapod,它工作正常,但现在当我尝试构建时,我收到错误消息“没有这样的模块 GoogleSignIn” 我正在使用来自其他框架(如 Firebase)的 cocoapod,它在使用 . xcworkspace,Xcode 10.2。我试过了:

1.清洁和重建。2.清理构建文件夹。3.重启Xcode。4.pod更新/安装。

我的 podfile 看起来像这样:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Dilblitz' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Dilblitz
pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'GoogleSignIn'
pod 'ChameleonFramework'
pod 'SVProgressHUD'
pod 'SwiftyJSON'

end

标签: swift

解决方案


您选择部署目标 12.0,然后构建代码。


推荐阅读