Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

xCode 4.5 console input

Hi everybody!

Yesterday I've updated to ML 10.8.2 and xCode 4.5. And I've got a trouble. In C++ Console Application I can write only one symbol in console. I can't write any more untill press enter, then 1 more.

Output does well.


Does anybody have the same problem?? With xCode 4.4 everything was OK.


Thanks for help!

Posted on Sep 20, 2012 10:57 AM

Reply
17 replies

Sep 20, 2012 11:28 AM in response to Sol88

Also expriencing this issue with Xcode 4.5, OS X 10.8.2, and Xcode 4.5 Command Line Tools. I've also noticed that switching to a different output setting ("Debugger Output" or "Target Output") shows all previous input but still truncates new input until the output setting is switched again., or i


One workaround I've found is to install a copy of Xcode 4.4.1 (I keep it in an "Xcode Archive" folder in my Apps folder) and use the older install for C++ development, though Xcode 4.5 improved C++ development, so I'd love to see a better solution.

Sep 23, 2012 12:14 PM in response to Sol88

There's a discussion of this issue on Apple's paid developer forums. It's a bug in Xcode 4.5. Apple's engineers are looking into the issue, but there's no fix yet.


There are two workarounds. The first workaround is to run your command-line app from the Terminal. In the Xcode project navigator select your executable from the Products folder. Right-click and choose Show in Finder. Double-click the executable in the Finder to launch it in the Terminal.


The second workaround is to install Xcode 4.4. Choose Xcode > Open Developer Tool > More Developer Tools to access Apple's developer downloads site.

Sep 26, 2012 8:09 PM in response to Sol88

Developed a WORKAROUND today :-)


Choose File > New > New Window


Resize the Window so that the window covers the existing Xcode window, BUT leave the existing

xCode windows "All Output" showing underneath.


Click into new (upper/covering ) "All Output" window to put the keyboard focus in the upper window.


Run your application. Upper/covering window will show only first input character per line, but

lower window's "All Output" section will show all characters as they are typed in.


See a picture of this at:

https://sites.google.com/site/chrislent/home/-workaround-xcode-4-5-output-window -input-echo-problem


I filed a bug report on this, with the workaround included:


Problem ID: 12383367

Title: Console Input to "All Output" window echoes only first character of each line

Originated Date: 26-Sep-2012 11:03 PM (EDT)

Sep 29, 2012 4:32 PM in response to Chris Lent

Happily, it looks like this bug was already logged, but sadly still open.

Update: September 29, 2012

This is a follow up to Bug ID# 12383367. This bug has been closed as a Duplicate. The issue is being tracked under the original Bug ID# 12333057 which is also listed in the Related Problem section of your bug report. To check the status of the original bug report, please visit the Related Problem section of the Problem Detail view of your closed duplicate bug.

The status of Bug ID# 1233057 is Open at this time.

xCode 4.5 console input

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.