I am getting the following error after migrating from one mac to another using time machine.
Could not attach to pid
Ensure "project title"
You can do this following steps -
Kill your simulator and then run it again from Xcode.
If you are trying to build too fast after a build has started. Try stopping and running the project again.
This can be a issue with the untrusted certificates in key-chain access, please remove such a type of certificates and re-build again.
Finally, you can do is recheck the Keychain certificates. Delete the exiting ones by right clicking (they'd passed expiration)
and unchecked "automatically manage signing"
in Targets->General
Hope above steps will solve your problem.