找不到 UIKit/UIKit.h 文件 - XCode 4.6.1 - Objective-C [英] UIKit/UIKit.h file not found - XCode 4.6.1 - Objective-C

查看:61
本文介绍了找不到 UIKit/UIKit.h 文件 - XCode 4.6.1 - Objective-C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将 XCode 更新到 4.6.1 版本后,当我打开在上一个 Xcode 版本中开发的项目时,它在 import <UIKit/UIKit.h> 行.我遇到的错误是未找到 UIKit/UIKit.h 文件".我该如何解决这个问题?

After I updated XCode to 4.6.1 version, when I open a project developed in the last Xcode version, it gives me an error on every ".h" class I have, in the import <UIKit/UIKit.h> line. The error I'm having is "UIKit/UIKit.h file not found". How can I solve this?

推荐答案

您当然需要在 Build Phases 下重新添加 UIKit 到您的框架中.

You certainly need to re-add UIKit to your frameworks under Build phases.

这篇关于找不到 UIKit/UIKit.h 文件 - XCode 4.6.1 - Objective-C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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