gpt4 book ai didi

ios - 如何修复 GoogleUtilities Swift 的重复错误?

转载 作者:行者123 更新时间:2023-12-01 21:58:03 24 4
gpt4 key购买 nike

我正在使用 firebase 来跟踪我的项目中的崩溃,并且我正在我的项目中使用以下 pod。

 pod 'FirebaseCore', '6.6.4'
pod 'FirebaseMessaging', '4.3.0'
pod 'FirebaseAnalytics','6.3.1'

在归档此项目以放置 testflight 构建时,我在下面的 google 实用程序中收到重复错误:
 Multiple commands produce '/Path/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
1) Target 'GoogleUtilities-00567490' has create directory command with output '/Path//IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
2) Target 'GoogleUtilities-54e75ca4' has create directory command with output '/Path//IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'

当我在build设置中检查我的 Pods 设置时,我看到谷歌实用程序在项目中添加了两次。我已经删除了其中一个出现错误的 GoogleUtilities。

注:我可以运行构建,但无法归档它。在不更改 的情况下,是否有任何修复方法可以实现此构建?旧版构建系统 ?

因为我已经为我的 SDK 启用了库分发,所以当我对旧版进行更改时,它会引发错误。

最佳答案

更新 Podfile 以明确请求所有需要的 GoogleUtilties 子规范。检查 Podfile.lock 以找到列表。

这个 CocoaPods issue 有更多详细信息.

关于ios - 如何修复 GoogleUtilities Swift 的重复错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61016476/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com