iPhone development interfering with Terminal.app?

Discussion in 'iPhone/iPad Programming' started by Luke Redpath, Aug 27, 2008.

  1. macrumors 6502a

    Joined:
    Nov 9, 2007
    #1
    This might seem like a strange one, but I almost always have Terminal.app running for one reason or another, especially when developing as I am using Git for version control.

    It does seem however that after an extended period of development time in XCode with the iPhone SDK (and the many build cycles that come with it) that I'm an unable to start any more terminals (either in a new tab or by restarting Terminal.app completely). Instead I get the error:

    "Could not open a new pseudo-tty."

    Googling for this revealed little, except for one relatively old post related to using the iPhone SDK:

    http://blogs.oreilly.com/iphone/2008/03/fixing-terminal-tty-errors.html

    It's suggestion is to reboot the machine which in my experience is the only way to solve the problem

    Does anybody else have this issue? What could be causing it? It's very strange and very frustrating.
     
  2. macrumors regular

    Joined:
    Nov 6, 2006
    #2
    I've had the same thing since I started developing for the iPhone - it seems to come and go... a real pain though because it stops any output working (so printf's and NSLogs etc)...

    -Ross
     
  3. thread starter macrumors 6502a

    Joined:
    Nov 9, 2007
    #3
    Yes I've noticed that too.
     
  4. macrumors member

    Joined:
    Nov 3, 2006
    Location:
    Bay Area, CA
    #4
    actually, the solution is as simple as quitting all cc && gcc processes (in activity monitor).
     
  5. macrumors member

    Joined:
    Nov 3, 2006
    Location:
    Bay Area, CA
    #5
    the messages are still logged in the console (os x console, not the xcode one) so you can track them there as well.
     
  6. thread starter macrumors 6502a

    Joined:
    Nov 9, 2007
    #6
    I'll give that a try, thanks! Any idea what the actual cause of the problem is?
     

Share This Page