0

我刚刚做了一个 pod 更新并尝试构建我的项目;收到以下错误: 在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

这是我的 podfile:

# Uncomment the next line to define a global platform for your project

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '10.0'

target 'changelater' do
  # Comment the next line if you don't want to use dynamic frameworks


use_frameworks!

  # Pods for changelater
    pod 'Firebase/Analytics'
    pod 'Firebase/Core'
    pod 'Firebase/Database'
    pod 'FirebaseUI/Auth'
    pod 'Firebase/Firestore'
    pod 'Firebase/Functions'
    pod 'ProgressHUD'
    pod 'Kingfisher', '~> 5.0'
    pod 'Stripe', '15.0.1'
    pod 'Alamofire'
    pod 'GooglePlaces'
    pod 'GoogleMaps'
    pod 'GooglePlacesSearchController'
    pod 'GooglePlacePicker'

end

知道为什么我在更新后收到此错误吗?以及我该如何解决?我已经这样做了shift+command+K,但这没有帮助。

4

3 回答 3

1

更新 pod 依赖项后清理项目是一个很好的做法。在更新 cocoapods 后,我过去也遇到过类似的问题。

尝试

  1. 在 Xcode 菜单中:Product -> Clean build folder (shift+command+K)
  2. 再次构建您的项目(命令+B)
于 2020-04-12T09:48:09.623 回答
0

我只需将我的 xcode 更新到最新版本,错误就消失了。

于 2020-04-14T20:08:34.530 回答
0

只是因为我没有最新的 xcode。所以我不得不更新我的 xcode 并更新我的 podfile 版本。之后一切都很好!

于 2020-04-30T01:21:42.353 回答