Could not build module UIKIT in Xcode 6.4 and Xcode 7

3.9k Views Asked by At

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' " enter image description here

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

enter image description here enter image description here

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.

2

There are 2 best solutions below

0
Meera On

Finally got solution, I go through target > shown in folder and here i found there is one corevideo framework and i just removed it and try to build/run app and its worked successful :)

3
Vinicius Carvalho On

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.