错误:"无法建立模块AVfoundation" X上code 5.1 [英] Error: "Could not build module AVfoundation" on Xcode 5.1

查看:514
本文介绍了错误:"无法建立模块AVfoundation" X上code 5.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的问题。

I encountered a weird problem.

我加入了框架AVfoundation到项目,并列入头文件,如下第三行。

I added the framework AVfoundation to the project, and included the header file as the third line below.

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

但我得到无法构建模块AVfoundation的错误,当我试图生成项目。

But I got "Could not build module AVfoundation" error when I tried to build the project.

我开始了一个新的项目,然后一切都正常的。但几天后,又发生了同样的问题。

I started a new project, then everything was alright. But several days later, the same problem occurred again.

在X code是5.1版(5B130a)。

The Xcode is Version 5.1 (5B130a).

重新启动X code或计算机不解决问题。

Restarting Xcode or the computer do not solve the problem.

推荐答案

我得到了同样的问题,但能够解决这个问题:

I got same problem but was able to solve it :


  1. 只是清除所得到的数据内容(<一个href=\"http://stackoverflow.com/questions/18933321/deleting-contents-from-x$c$c-derived-data-folder\">deleting从X code处的派生数据文件夹内容)从X $ C $角

  1. Just Clear The Derived Data Contents(deleting contents from Xcode Derived data folder ) From Xcode.

退出并重启X code。

Quit and Restart XCode.

这篇关于错误:&QUOT;无法建立模块AVfoundation&QUOT; X上code 5.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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