10-16-2009, 09:06 AM #1Template Cocoa Template generated from Cannot NSLog
I'm using Xcode 3.2.1 on my MacBook Pro
After XCode generate the Cocoa application, everything works great.
Blank window, just as expected.
But all my NSLog commands doesn't evoke any output from Terminal which didn't even pop out.
I realize the same situation when I generate the "Command Line Tool" template. when I click build, it actually created the command line utility but I have to later manually double click on the app to open the terminal manually.
With the Cocoa template, if I were to "double click" on the resulting app I will bring up the GUI application, but it seems the GUI cannot start the terminal
How can I give Xcode the right to open terminal ?
10-16-2009, 09:15 AM #2
10-16-2009, 05:18 PM #3
- Member Since
- Dec 13, 2007
- United States of America
- 2.1GHz MacBook with 4GB RAM, Mac OS X 10.6, iLife and iWork ‘09
You can make the console open by default in the Preferences under the Debugging section. For the On Start: option choose Show Console, and it will open automatically any time you Run or Debug.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By UNSHMD in forum OS X - Apps and GamesReplies: 1Last Post: 05-22-2013, 04:00 AM
By iDriver in forum OS X - Operating SystemReplies: 7Last Post: 09-23-2012, 12:13 AM
By marshaboggs in forum OS X - Development and DarwinReplies: 0Last Post: 04-14-2009, 07:03 PM
By tatoniss in forum OS X - Operating SystemReplies: 0Last Post: 09-27-2008, 08:27 PM
By waymon in forum Web Design and HostingReplies: 4Last Post: 12-20-2006, 07:14 PM