k.hema
k.hema

Reputation: 35

How to Solve: Could not Attach to Pid :"777" in Xcode

I'm new to iOS Development. I tried to create an app in Xcode 7.3.1 and iOS Simulator (9.3) and Swift.

While executing the app it is showing error like:

"Could not Attached to Pid:"777"(Unable to Attach).

I have tried to "Resetting the content and settings in the simulator" and "Window > Organizer > Projects > Derived Data", but still I didn't get the solution. Please anyone help me.

screenshot

Upvotes: 1

Views: 1395

Answers (2)

mehdigriche
mehdigriche

Reputation: 448

As Mentioned in Apple Developer Forums, It's an issue with authorization. Try this in the Terminal:

sudo DevToolsSecurity -enable

Upvotes: 0

onkar
onkar

Reputation: 4547

Please try either of the following

  • reset content and settings

  • Restart the simulator

  • close and restart the project

  • Restart Xcode

  • Restart the system

Upvotes: 1

Related Questions