Could not build module UIKit

Hardik Shah picture Hardik Shah · Nov 23, 2013 · Viewed 36.2k times · Source

Suddenly it stops building application in device. In simulator its working but when I connect the device and try to run it in device it gives me an error:

Could not build module UIKit

I tries a lot but couldn't solve it.

Answer

chinnawatp picture chinnawatp · Aug 24, 2016

Please don't make the same mistake like I did. In my case, I accidentally typed some words into Foundation framework file.