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.
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.
I accidentally edited Foundation framework file. So
UIKit.framework
got corrupted. The only solution is recover the original.You have 2 solutions:
1. Just Re-install XCode.
OR
2. Copy the Framework from another Mac (with same XCode version) & paste into yours.
Location: