Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 854
Tamás Sengel Avatar asked Jan 06 '18 15:01

Tamás Sengel


3 Answers

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.

like image 182
Tamás Sengel Avatar answered Nov 19 '22 14:11

Tamás Sengel


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)
like image 41
Mo Iisa Avatar answered Nov 19 '22 14:11

Mo Iisa


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.

like image 2
えるまる Avatar answered Nov 19 '22 15:11

えるまる