构建错误 - 在文件中缺少所需的架构i386 [英] Build Error - missing required architecture i386 in file

查看:136
本文介绍了构建错误 - 在文件中缺少所需的架构i386的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

建立我的iPhone应用程式时收到这个错误:

I'm getting this error when building my iPhone application:


ld:warning:in /Developer/Platforms/iPhoneOS.platform /Developer/SDKs/iPhoneOS3.1.sdk/System/Library
/Frameworks/UIKit.framework/UIKit,缺少文件中所需的架构i386

ld: warning: in /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/System/Library /Frameworks/UIKit.framework/UIKit, missing required architecture i386 in file

它对于我的应用程序中的所有框架都是一样的。

It goes the same for all the frameworks in my app. It's very weird since this was not happening earlier.

推荐答案

当你向你的项目添加一个框架并且无意中复制框架时,会发生这种情况到您的项目目录。

This happens when you add a framework to your project and unintentionally copy the framework into your project directory.

修复是检查您的项目目录(您的项目存储在磁盘上)任何iphone SDK * .Framework文件并删除它们。

The fix is to check your project directory (where you store your project on disk) for any iphone SDK *.Framework files and delete them.

项目将在之后建成。

这篇关于构建错误 - 在文件中缺少所需的架构i386的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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