简体   繁体   中英

Could not build module UIKIT in Xcode 6.4 and Xcode 7

I am recently open one of my old project and trying to run/build in XCODE 6.4 and as well as XCODE 7.0 . But showing One error that "Could not build module 'UIKit' " 在此处输入图片说明

even shows below error that could not build module CoreImage.h file and coreVideo.h file not found .

在此处输入图片说明 在此处输入图片说明

I tried following things. But unable to solve please help me.

  • I removed framework and add in build setting.
  • In .pch file I removed UIKIT framework and add.
  • I clean derived data.
  • Even check .pch file path.
  • I set disable and than further enable "Use Standard Header Directory Searching".
  • Even try by changing deployment target but not work for me.

Help me please.

终于有了解决方案,我浏览了target>文件夹中所示的内容,在这里我发现有一个corevideo框架,我只是删除了它,并尝试构建/运行应用程序,它的工作成功了:)

I did the following process to solve this problem of not finding the UIKit,

  • I cleaned the devided data;
  • I checked to see if any of the Foundation files had changed.

I advise you to check in the Foundation for these files, CoreImage.h and coreVideo.h to see if you do not have any changed files in your root.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM