Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TwitterKit does not compile with Xcode 6.3

I added TwitterKit from Fabric to an app under Xcode 6.3.

The app would compile before I added TwitterKit's Run Script build phase step but once I added TwitterKit it failed with this error during Debug builds:

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

Anyone find a way around this?

like image 449
Mark Thistle Avatar asked Feb 23 '15 19:02

Mark Thistle


2 Answers

This was a simple fix. Just do as the error state, turn on dSYM generation for your debug build.

Change your Build Settings from this: enter image description here

To this: enter image description here

Then choose Build again. It should now compile and run.

like image 156
Mark Thistle Avatar answered Nov 20 '22 08:11

Mark Thistle


You can follow below steps ,it worked for me.

  1. open build setting of your project and search for "Generate debug symbol" and set it to Yes. As in the below screenshot enter image description here

  2. Search for debug information format in build setting and search for "Debug information format" then set "Debug information format" to "DWARF with dSYM file"

enter image description here

like image 13
ABS Avatar answered Nov 20 '22 08:11

ABS