glyvox
glyvox

Reputation: 58129

Pseudo Terminal Setup Error when running iOS Simulator

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

"Pseudo Terminal Setup Error - ErrorCode: 1 Errno: 6" alert

What is this and how can I fix this?

Upvotes: 34

Views: 13353

Answers (4)

Zeeshan Ahmad II
Zeeshan Ahmad II

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

Mo Iisa
Mo Iisa

Reputation: 504

How to resolve the error:

  1. Quit the simulator
  2. Restart Xcode - (Make sure that you have saved /committed any changes you have made to your code)

Upvotes: 10

glyvox
glyvox

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

Related Questions