我尝试将Fabric
添加到我的项目中,该项目使用CocoaPods
Carthage
。我做了什么:
Fabric
app中,我创建了一个新应用Fabric
app复制了代码(脚本是我项目中的最后一个脚本!)Framework Search Paths
的正确路径。 Fabric
阶段添加了Link Binary with Libraries
框架。该项目仍未建成。错误:
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
有什么问题?如何解决?
答案 0 :(得分:0)
知道了。将框架移动到不同的文件夹时,我忘记更改运行脚本:
./Fabric.framework/run ...
为:
./Frameworks/Fabric.framework/run ...
现在一切正常。