【发布时间】:2020-04-03 16:37:06
【问题描述】:
我正在使用 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'
当我在构建设置中检查我的 Pods 设置时,我看到谷歌实用程序在项目中添加了两次。我已删除其中一个出现错误的 GoogleUtilities。
注意:我可以运行构建,但无法存档。在不更改旧版构建系统的情况下,是否有任何解决方法可以实现此构建?
因为我已经为我的 SDK 启用了库分发,所以当我对旧版进行更改时,它会引发错误。
【问题讨论】: