未找到 UIKit/UIKit.h 文件 - XCode 4.6.1 - Objective-C
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15578595/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
UIKit/UIKit.h file not found - XCode 4.6.1 - Objective-C
提问by Johnny Dahdah
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?
在我将 XCode 更新到 4.6.1 版本后,当我打开一个在上一个 Xcode 版本中开发的项目时,它在我拥有的每个“.h”类上都给我一个错误,import <UIKit/UIKit.h>
在行中。我遇到的错误是“未找到 UIKit/UIKit.h 文件”。我该如何解决这个问题?
采纳答案by toasted_flakes
You certainly need to re-add UIKit
to your frameworks under Build phases
.
您当然需要UIKit
在Build phases
.