I am trying build a app for iOS using XCode. The app works fine on iPhone simulator but before running it throws error "IDEPseudoTerminalDomain error 1". Don't know why it is causing this.
If I try to run all on iPad simulator then it doesn't open simulator at all.
The operation couldn’t be completed. (IDEPseudoTerminalDomain error 1.)
Please can you tell me why this error is coming and how to avoid it.
Thanks in advance.
Try increasing the max number of pseudo terminals
by doing this:
sudo sysctl -w kern.tty.ptmx_max=999
To make the change permanent beyond the current terminal session, do this:
sudo touch /etc/sysctl.conf
sudo chown root:wheel /etc/sysctl.conf
sudo chmod 644 /etc/sysctl.conf
echo "kern.tty.ptmx_max=999" | sudo tee -a /etc/sysctl.conf
Credits go to bartoszj at https://www.pgs-soft.com/ios-ui-testing-and-why-it-does-not-always-work-a-k-a-pushing-the-limits-of-the-xctest-framework/
I reset the iOS Simulator ("iOS Simulator" menu > "Reset Content and Settings..."), then I restarted Xcode. These two combined resolved this issue for me.
I am using Xcode 6.0 beta 4.
reset the iphone simulator and then quit the simulator then started it again or XCode menu->Clear cache solved your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With