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.
Please don't make the same mistake like I did. In my case, I accidentally typed some words into Foundation framework file.