Fabric无法安装

时间:2015-07-14 09:08:56

标签: ios swift crashlytics twitter-fabric

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

  1. Fabric app中,我创建了一个新应用
  2. 在项目中,我创建了名为' Fabric'的新运行脚本,从Fabric app复制了代码(脚本是我项目中的最后一个脚本!)
  3. 由于无法找到框架文件,因此我添加了Framework Search Paths的正确路径。
  4. 我还在项目Fabric阶段添加了Link Binary with Libraries框架。
  5. 该项目仍未建成。错误:

    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
    

    有什么问题?如何解决?

1 个答案:

答案 0 :(得分:0)

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

./Fabric.framework/run ...

为:

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

现在一切正常。

相关问题