swift - 错误没有这样的模块'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
解决方案
您选择部署目标 12.0,然后构建代码。
推荐阅读
- emeditor - 如何在 emeditor 中“批量替换”大量文件
- c# - Xamarin Forms Timer 在计时器之前不显示运行代码
- java - 我们如何在 HandlerInterceptorAdapter 中 postHandle 异常?
- python - Elastic Beanstalk 错误地使用 Python 2.7 而不是 3.7 部署环境
- arrays - 如何在 setState 上的对象数组中搜索和过滤
- c# - 如何在 1 个按钮内运行 2 个命令
- xml - XSLT 1.0 - 在其他值之间子串一个值
- reactjs - React 函数式组件中的参数而不是 Props
- java - 将数组的字符串转换回数组
- visual-studio-code - VS Code 如何防止代码处于注释状态时代码自动展开?