【问题标题】:Fabric fails to installFabric 安装失败
【发布时间】:2015-07-14 09:08:55
【问题描述】:

我正在尝试将Fabric 添加到我的项目中,该项目使用CocoaPodsCarthage。我做了什么:

  1. Fabric 应用中,我创建了一个新应用
  2. 在项目中,我创建了名为“Fabric”的新运行脚本,从Fabric app 复制了代码(该脚本是我项目中的最后一个脚本!)
  3. 由于找不到框架文件,我已将正确的路径添加到Framework Search Paths
  4. 我还在我的项目Link Binary with Libraries 阶段添加了Fabric 框架。

该项目仍未构建。错误:

2015-07-14 10:51:30.161 run[46263:967908] Fabric.framework/run 1.3.16
2015-07-14 10:51:30.169 run[46263:967908] 

Fabric: dSYM Error

Unable to process MyApp.app.dSYM at path 
/Users/me/Library/Developer/Xcode/DerivedData/MyApp-gmgvycoixcnkriauasdffkzvdg/Build/Products/Debug-iphonesimulator/MyApp.app.dSYM
Make sure your project build settings are generating a dSYM file. 
DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations. 
This could also be a timing issue, make sure the Fabric run script build phase
is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.

Command /bin/sh failed with exit code 1

怎么了..?如何解决?

【问题讨论】:

  • 您是否还检查了所有配置的DEBUG_INFORMATION_FORMAT 是否设置为dwarf-with-dsym
  • @Alladinian 是的,它适用于发布和调试。

标签: ios swift crashlytics twitter-fabric


【解决方案1】:

知道了。将框架移动到不同的文件夹时,我忘记从以下位置更改运行脚本:

./Fabric.framework/run ...

到:

./Frameworks/Fabric.framework/run ...

现在一切正常。

【讨论】:

    猜你喜欢
    • 2021-04-11
    • 2021-01-26
    • 2019-03-14
    • 1970-01-01
    • 1970-01-01
    • 2013-02-24
    • 1970-01-01
    • 2017-08-14
    • 2021-05-06
    相关资源
    最近更新 更多