Reputation: 58129
I tried to execute my app in the iOS Simulator. The build succeeded, but I got an alert with an error message before running and the app did not execute:
Pseudo Terminal Setup Error
ErrorCode: 1 Errno: 6
What is this and how can I fix this?
Upvotes: 34
Views: 13353
Reputation: 1193
Stop running scheme or application and try again after it.
Upvotes: 0
Reputation: 2551
I can't post comment, that is why I wrote here. To those for who this issue repeats even after restarting Xcode, remember to kill process at all, don't just close the project.
Upvotes: 3
Reputation: 504
How to resolve the error:
Upvotes: 10
Reputation: 58129
Just restart Xcode and run your app again.
A pseudo terminal is an emulated terminal which is controlled by a master application, in this case, Xcode. For some reason, it encountered an error while trying to run that emulated terminal.
A common problem that can cause this is that you tried to run an instance of an iOS application too quickly after stopping another instance.
Upvotes: 62