升级到xcode 4错误没有要编译的体系结构 [英] Upgrading to xcode 4 error No architectures to compile for

查看:128
本文介绍了升级到xcode 4错误没有要编译的体系结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到xcode 4后,对于我的应用程序所依赖的所有库项目,我收到错误。

I am getting an error after upgrading to xcode 4, for all of the library projects that my application depends on.


[BEROR ]没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = i386,VALID_ARCHS = armv6)。

[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6).


推荐答案

看起来你要做的就是在构建设置中将i386添加到Valid Architectures中。我正在为模拟器编译,这就是为什么它在抱怨。

It looks like all you have to do is add i386 to the Valid Architectures in the build settings. I was compiling for the simulator, and that's why it was complaining.

这看起来很奇怪,因为该项目在升级前工作得很好。在我看来,您必须为升级的任何项目执行此操作。至少现在可以使用。

This seems odd, because the project worked just fine before upgrade. It looks to me like you have to do this for any project you upgrade. At least that will work for now.

这篇关于升级到xcode 4错误没有要编译的体系结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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