gpt4 book ai didi

ios - 使用 CocoaPods 在多个目标中引用 Firebase 时,构建运行但存档失败

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

我想在 Siri Intent 中使用 Firebase。我尝试运行它并且它可以工作,但是当我尝试归档应用程序时它无法归档。

我在 macOS Catalina 10.15.3 和 CocoaPods 1.8.4 上使用 Xcode 11.2.1。

错误是:

  • 多个命令产生'/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher.framework':
    1)目标“GTMSessionFetcher-Core”具有创建目录命令,输出为“/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher。框架'
    2)目标“GTMSessionFetcher.default-Core”具有创建目录命令,输出为“/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GTMSessionFetcher.framework'
  • 多个命令产生'/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.framework':
    1)目标“GoogleUtilities-00567490”具有创建目录命令,输出为“/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities。框架'
    2) 目标“GoogleUtilities-ac14cd06”具有创建目录命令,输出为“/Users/matan/Library/Developer/Xcode/DerivedData/Sendy-bqdzdmefsanhbvezkvawqizercwt/Build/Intermediates.noindex/ArchiveIntermediates/Sendy/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/GoogleUtilities.框架'

  • archive errors

    播客文件:
    project 'Sendy.xcodeproj'

    # Uncomment the next line to define a global platform for your project
    platform :ios, '13.0'

    abstract_target 'SendyPods' do

    use_frameworks!

    pod 'Firebase/Core'
    pod 'Firebase/Auth'
    pod 'Firebase/Storage'
    pod 'Firebase/Firestore'
    pod 'FirebaseFirestoreSwift'

    target 'Sendy' do
    pod 'Firebase/Crashlytics'
    pod 'Firebase/Analytics'
    pod 'Firebase/Performance'
    pod 'FirebaseMessaging'
    pod 'GoogleSignIn'
    end

    target 'SendyIntents'

    target 'SendyIntentsUI'

    end

    最佳答案

    我最终将构建系统更改为在 Xcode 10 之前使用的 Legacy Build System。
    您可以在 File -> Workspace Settings -> Build System 切换到 Legacy Build System。

    关于ios - 使用 CocoaPods 在多个目标中引用 Firebase 时,构建运行但存档失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60354439/

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