【问题标题】:Error message of "framework not found GoogleAppMeasurement" when i run my project运行我的项目时出现“找不到框架 GoogleAppMeasurement”的错误消息
【发布时间】:2020-02-21 12:33:20
【问题描述】:

我的项目中有这些 Pod

pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'Firebase/Storage'
pod 'Firebase/Messaging'
pod 'Firebase/Auth'
pod 'ActiveLabel'

当我在 Xcode 上运行应用程序时,大多数时候我都会收到一条错误消息“找不到框架 GoogleAppMeasurement”, 有时应用程序运行没有问题,但在大多数情况下它会失败并出现此消息

有谁知道为什么会发生这种情况并请解决此问题

【问题讨论】:

  • 您的 podfile 已过期。请参阅installing firebase 您不再需要添加 iOS pod Firebase/Core。 其他 pod 也可能已过期。首先要尝试的是更新 podfile 并从项目文件夹中执行 pod updatepod install,确保您的项目已关闭。该错误与 FirebaseAnalytics 相关,仅供参考。

标签: swift firebase cocoapods


【解决方案1】:

关闭 Xcode 并打开您的派生数据文件夹并清除它。重新打开项目清理它(cmd+shift+k)并再次运行。

不要在构建中将 Build Active Architecture Only 设置为 No 设置。

【讨论】:

    猜你喜欢
    • 2019-11-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-13
    • 2021-02-22
    • 2019-03-25
    • 1970-01-01
    相关资源
    最近更新 更多