【发布时间】:2015-07-14 09:08:55
【问题描述】:
我正在尝试将Fabric 添加到我的项目中,该项目使用CocoaPods 和Carthage。我做了什么:
- 在
Fabric应用中,我创建了一个新应用 - 在项目中,我创建了名为“Fabric”的新运行脚本,从
Fabricapp 复制了代码(该脚本是我项目中的最后一个脚本!) - 由于找不到框架文件,我已将正确的路径添加到
Framework Search Paths。 - 我还在我的项目
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