我将来自 Fabric 的 TwitterKit 添加到 Xcode 6.3 下的应用程序中。
应用程序会在我添加 TwitterKit 的运行脚本构建阶段步骤之前编译,但是一旦我添加 TwitterKit 它就会在调试构建期间失败并出现此错误:
2015-02-23 11:22:32.382 run[53735:1513077] Fabric.framework/run 1.3.13 2015-02-23 11:22:32.388 run[53735:1513077]
Fabric: dSYM Error
Unable to process fabrictest.app.dSYM at path /Users/mfoouser/Library/Developer/Xcode/DerivedData/fabrictest/Build/Products/Debug-iphonesimulator/fabrictest.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
有人找到解决这个问题的方法吗?
最佳答案
这是一个简单的修复。就像错误状态一样,为您的调试版本打开 dSYM 生成。
从此更改您的build设置:
为此:
然后再次选择构建。它现在应该编译并运行。
关于ios - TwitterKit 不能用 Xcode 6.3 编译,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28681934/