【问题标题】:Xcode Failed to load info.plist from bundle Carthage GoogleAppMeasurementXcode 无法从包 Carthage GoogleAppMeasurement 加载 info.plist
【发布时间】:2020-08-31 19:56:22
【问题描述】:

所以这里有 9 个其他问题,我得到了这个错误:

此时无法安装。 无法从路径 /Users/vollan/Library/Developer/CoreSimulator/Devices/E47CB57D-1AE7-460B-9D31-5ADE99E70A02/data/Library/Caches/com.apple.mobile.installd.staging/temp 的包中加载 Info.plist .YGXslm/extracted/project.app/Frameworks/GoogleAppMeasurement.framework;关于 plist 的额外信息:ACL=

我已经检查了所有其他 9 个问题和答案,但没有一个可以为我解决问题。

我已经通过 Carthage 实现了它,所有的框架都倾向于在它们内部有一个头文件,但是,由于某种原因,这个没有。

这是我的迦太基文件:

binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseProtobufBinary.json"

【问题讨论】:

  • 我感受到你的痛苦。目前在同一个洞里。你找到解决方案了吗?唯一让我更接近的是:medium.com/@bgtspen/firebase-crashlytics-carthage-fc4753d827cf 但是当我尝试导出档案时它失败了。祝你好运!
  • @VijaySharma 我的问题是我添加了所有的 firebase 框架来构建阶段,但由于它们是静态的,因此不应该在此处添加

标签: swift xcode firebase simulator carthage


【解决方案1】:

从 Carthage copy-frameworks 构建阶段移除 Firebase 框架。

更多详情请参阅https://github.com/firebase/firebase-ios-sdk/blob/master/Carthage.mdhttps://github.com/firebase/firebase-ios-sdk/issues/5562 的说明

【讨论】:

    猜你喜欢
    • 2020-05-13
    • 2017-03-12
    • 2017-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-12
    • 2019-03-29
    相关资源
    最近更新 更多