Reputation: 6481
I am using Xcode6.0.1, first time run my app in iOS simulator then I got following error message
Restore the connection to "iPhone 6" and run “APPNAME” again, or if "APPNAME" is still running, you can attach to it by selecting Debug > Attach to Process > APPNAME.
How do I solve this issue?
Upvotes: 7
Views: 5121
Reputation: 363
delete the same name of existing project and re run the project means if you are run the helloworld project then delete helloworld project from the device if you run in past then re-build project again.it worked for me.
Upvotes: 0
Reputation: 3288
Stop the projects and re-run it then you will find the solution
Upvotes: 0
Reputation: 36447
This happens less frequently in Xcode 6.1 as compared to Xcode 6 beta version. Only solution is to Re-run your project. This seems to be bug and might be fixed in upcoming Xcode 6.2 version.
This persists in Xcode 6.2.
Upvotes: 0
Reputation: 3914
Reset the simulator content and settings and launch the simulator again.
That worked for me.
Hope it helps someone else also.
Upvotes: 0
Reputation: 496
You can select Debug in menu bar and select attach to process and select iOS Simulator. It worked for me.
Upvotes: 1
Reputation: 23651
This is a known issue and should be mentioned in the release notes. At present, the only workaround is to try again. Sorry. =/
Upvotes: 1