gpt4 book ai didi

xcode - 使用 'GoogleMaps' 和 'GooglePlaces' pod,当归档 iOS 构建时,多个命令会收到错误,生成 GoogleUtilities 目标

转载 作者:行者123 更新时间:2023-12-02 03:28:31 25 4
gpt4 key购买 nike

存档时遇到问题 - 我收到一条构建系统信息错误,内容为

Multiple commands produce '.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates.noindex/ArchiveIntermediates/.../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
1) Target 'GoogleUtilities-00567490' has create directory command with output '.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates.noindex/ArchiveIntermediates/.../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'
2) Target 'GoogleUtilities-ac14cd06' has create directory command with output '.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates.noindex/ArchiveIntermediates/.../IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework'

我最近更新到了最新版本的 Xcode (v 10.0)。我也在使用 Cocoapod 版本 1.6.0.beta.1

使用 GoogleMaps pod 版本 2.7.0、GooglePlaces pod 版本 2.7.0当我运行“pod install”时,它还会安装“GoogleUtilities (5.3.0)”。

我尝试删除我的 Podlock、Podfile、.xcworkspace 等,并在更新 Cocoapods 后重新开始使用新的 Podfile、pod init、pod install 等,但仍然没有成功。

我正在 Embed Pod 框架内的构建阶段中寻找与 GoogleUtilities 或地点或 map 相关的重复项,但运气不佳。当我查看 Pods 文件夹时,我确实看到了两个 GoogleUtilities 框架:“GoogleUtilities-00567490”和“GoogleUtilities-ac14cd06”,但两者的内容似乎并不完全相同。

仅在将 Xcode 更新到版本 10.0 后才遇到此问题。

最佳答案

对我来说,同样的问题也出现了,大多数人都说将构建系统更改为遗留系统,但是当我尝试它时,它启动了快速编译器错误。解决方法如下。

  1. 转到您的目标并点击 (your_app_name_target)。
  2. 选择构建阶段
  3. 展开复制 Pod 资源
  4. 请参阅输出文件部分。
  5. 此部分应为空。 删除其中的任何条目
  6. 重建您的项目。

关于xcode - 使用 'GoogleMaps' 和 'GooglePlaces' pod,当归档 iOS 构建时,多个命令会收到错误,生成 GoogleUtilities 目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52522985/

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