Reputation: 35
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.
Upvotes: 1
Views: 1395
Reputation: 448
As Mentioned in Apple Developer Forums, It's an issue with authorization. Try this in the Terminal:
sudo DevToolsSecurity -enable
Upvotes: 0
Reputation: 4547
Please try either of the following
reset content and settings
Restart the simulator
close and restart the project
Restart Xcode
Upvotes: 1