TwitterKit 不能用 Xcode 6.3 编译
TwitterKit does not compile with Xcode 6.3
我将 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 生成。
从此更改您的构建设置:
为此:
然后再次选择构建。它现在应该编译并且 运行.
这对我不起作用,因为它已经设置为 'with dSYM' 并且它也没有构建。经过更多的挖掘和尝试,问题似乎(至少对我而言)在构建设置>生成调试符号下,默认情况下设置为否。我将其更改为“是”,效果非常好。
您可以按照以下步骤操作,它对我有用。
打开项目的构建设置并搜索 "Generate debug symbol" 并将其设置为是。
如下面的截图
在构建设置中搜索调试信息格式并搜索"Debug information format"然后将"Debug information format"设置为"DWARF with dSYM file"
没有一个建议的答案适合我。
删除了通过 Fabric 应用程序添加的 Fabric.framework
和 Crashlytics.framework
,并通过 Cocoapods
再次添加。
**这并不意味着 Cocoapods
只是解决方法,而是可能应该将它们重新添加到项目中。
对我有用的是以前的答案组合:
1- 将 "Build Settings -> Debug Information Format -> Debug" 值更改为 "DWARF with dSYM File"
2- 将 "Build Settings -> Generate Debug Symbols" 值更改为 "Yes"
3- 删除 Fabric 和 Crashlytics 框架并重新安装
我将 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 生成。
从此更改您的构建设置:
为此:
然后再次选择构建。它现在应该编译并且 运行.
这对我不起作用,因为它已经设置为 'with dSYM' 并且它也没有构建。经过更多的挖掘和尝试,问题似乎(至少对我而言)在构建设置>生成调试符号下,默认情况下设置为否。我将其更改为“是”,效果非常好。
您可以按照以下步骤操作,它对我有用。
打开项目的构建设置并搜索 "Generate debug symbol" 并将其设置为是。 如下面的截图
在构建设置中搜索调试信息格式并搜索"Debug information format"然后将"Debug information format"设置为"DWARF with dSYM file"
没有一个建议的答案适合我。
删除了通过 Fabric 应用程序添加的 Fabric.framework
和 Crashlytics.framework
,并通过 Cocoapods
再次添加。
**这并不意味着 Cocoapods
只是解决方法,而是可能应该将它们重新添加到项目中。
对我有用的是以前的答案组合:
1- 将 "Build Settings -> Debug Information Format -> Debug" 值更改为 "DWARF with dSYM File"
2- 将 "Build Settings -> Generate Debug Symbols" 值更改为 "Yes"
3- 删除 Fabric 和 Crashlytics 框架并重新安装