I am making an app in Xcode 9.2 and trying to run it on my iPhone (5S running iOS 11.2.1), Xcode compiles the application fine (I can run it in the simulator) but it does not run on my iPhone.
When I try to run it on my iPhone it just says "iPhone has recently restarted" and "Xcode will continue when iPhone is unlocked." Now, my phone has not recently restarted and I tried unlocking the phone and restarting it but neither works. I also tried restarting Xcode.
Is anyone else getting this "recently restarted" error? Is there anything I can do about it?
Unpair the device and pair it again from xcode -> Window -> Devices will solve this issue.
Posted as answer after the confirmation from @brettf.
if you using vpn services, then you need to turn off vpn. It will help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With