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:
Cleaning Derived data worked for me