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:
If you have two Xcode then uninstall both and again install Xcode. It worked for me.