tags:

views:

3739

answers:

1

Any idea why I'm getting this error message?

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

I was trying to integrate MGTwitterEngine and yajl into my project, so followed the instructions over here...

http://damienh.org/2009/06/20/setting-up-mgtwitterengine-with-yajl-106-for-iphone-development/

Managed to get it to compile but it stopped with that error. Have now removed all the framework references I added to my project, and removed all the MGTwitterEngine classes, basically putting it back to what it was. Whenever I compile, I still end up with this...

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

If I open other projects, they work fine...

Very strange, any ideas?

+1  A: 

Check that you don't have any frameworks in your project which don't exist for the iPhone. For example, I've seen a few people add QTKit.framework when they meant to add QuartzCore.framework.

Otherwise, post the actual output from the build command. In the "Build Results" window the error will have a small button to the right for more info.

toholio
I've managed to clear it and now have another problem.In the Target Info file, it had some strange references to the Library Search Paths.Problem I have now is I've ended up with 1.0.7 libyajl library whereas MGTwitterEngine has been developed to work with 1.0.6Nothing is running smoothly today...
iphone_developer