iPhone编译器失败:没有架构来编译 [英] iPhone Compiler Fails: No architectures to compile for

查看:124
本文介绍了iPhone编译器失败:没有架构来编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实施<一个href=\"http://$c$c.google.com/p/core-plot/downloads/detail?name=alpharelease_0.1.zip&can=2&q=&sort=-uploaded\"相对=nofollow>可可绘图架构(alpha版本0.1)在我的iPhone应用程序。

I'm trying to implement the Cocoa plotting framework (Alpha Release 0.1) in my iPhone app.

我想我会第一次尝试运行他们所提供的样本。我试图打开并编译位于项目 /来源/例子/ CPTestApp-iPhone /

I figured I'd first try to run the sample they provide. I attempted to open and compile the project located in /Source/examples/CPTestApp-iPhone/.

它说我的基地SDK缺少了蝙蝠的权利,所以我编辑的项目设置和活动目标使用iOS4的SDK,我已经为样本做过并曾工作。我不知道该怎么办。我运行的是最新的Unibody MacBook笔记本之一,10.6.4。

It says my base SDK was missing right off of the bat, so I edited the Project settings and the Active Target to use the iOS4 SDK, which I've done before for samples and had work. I'm not sure what to do. I'm running one of the newest Unibody Macbooks, with 10.6.4.

下面是完整的错误:

// - start - //

Check dependencies

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

// - end - //

思考?

推荐答案

试试这个:

项目构建设置:


  • 体系结构:标准(ARMv6的ARMv7的)

  • 基础SDK:最新的iOS建立有效

  • 架构只有:经过有效

  • 体系结构:用于ARMv6的ARMv7

删除所有子设置。

目标构建设置:


  • 在项目设置相同。

框架
在SystemConfiguration.framework添加到您的项目。 - 不知道为什么,这有什么影响

Frameworks Add the SystemConfiguration.framework to your project. - Not sure why this had any impact.

清洁所有目标。
构建模拟器。

Clean all targets. Build for the simulator.

此长解释可以在我们的博客中找到:<一href=\"http://longweekendmobile.com/2010/06/15/fixing-the-missing-required-architecture-arm-in-file-when-developing-for-ipad/\">http://longweekendmobile.com/2010/06/15/fixing-the-missing-required-architecture-arm-in-file-when-developing-for-ipad/

The long explanation for this can be found on our blog: http://longweekendmobile.com/2010/06/15/fixing-the-missing-required-architecture-arm-in-file-when-developing-for-ipad/

这篇关于iPhone编译器失败:没有架构来编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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