无法在xcode 4.2上构建我的项目 [英] Not able to build my project on xcode 4.2

查看:112
本文介绍了无法在xcode 4.2上构建我的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的xcode升级到4.2(使用雪豹)。之前我正在使用Xcode 3.2.6并且我的项目使用它成功构建。现在我无法构建它,而是Xcode发出以下错误

I have upgraded my xcode to 4.2 (using snow leopard).Previously i was using Xcode 3.2.6 and my project build successfully with it. Now I'm unable to build it, instead Xcode emits the following error

ld: warning: option -A is obsolete and being ignored
ld: entry point (start) undefined.  Usually in crt1.o for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1

错误似乎是一些编译器错误但无法弄明白。:(
我用谷歌搜索但没有运气。
建议一些解决方案。

The error seems to be some compiler error but can't figure it out .:( I googled for it but no luck yet. Please suggest some solution.

推荐答案

检查您是否使用以下标志,它将导致该错误 -nostdlib -noconfig

Check if you are using following flags, it will cause that error -nostdlib and -noconfig.

这篇关于无法在xcode 4.2上构建我的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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