I have stopped all simulator processes but still getting below error.
Restore the connection to "iPad 2" and run "APPNAME" again, or if "APPNAME" is still running, you can attach to it by selecting Debug > Attach to Process > APPNAME.
Getting this error in Xcode 6,which is not consistent,but need to build it once again.
Please drop reasons if someone knows.
This happens when you have 2 projects open in XCode you want to debug at same time.
To reproduce the problem:
- Launch a program in debug on the i(whatever) device
- Go to another (dependency) project and select Debug -> attach to process -> process launched at 1.
To avoid the problem:
- Launch the main process straight from the device
- Go to the dependency project and select Debug -> attach to process -> process launched at 1.