/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1 [英] /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

查看:134
本文介绍了/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

gcc-4.2失败,退出代码为1 iphone

我知道为什么会收到此错误消息?

Any idea why I'm getting this error message?

/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc- 4.2退出代码1失败

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

我试图将MGTwitterEngine和yajl集成到我的项目中,所以按照这里的说明进行...

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/

管理以使其编译,但它因该错误而停止。现在已经删除了我添加到项目中的所有框架引用,并删除了所有MGTwitterEngine类,基本上将它恢复到原来的状态。每当我编译时,我仍然最终得到这个...

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失败并退出代码1

/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?

推荐答案

检查项目中没有任何不存在iPhone的框架。例如,我看到有些人在添加QuartzCore.framework时会添加QTKit.framework。

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.

否则,发布build命令的实际输出。在构建结果窗口中,错误将在右侧有一个小按钮以获取更多信息。

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.

这篇关于/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2失败,退出代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆