Go Back  Mac-Forums.com  > Software > OS X - Darwin and Development > Template Cocoa Template generated from Cannot NSLog

Reply
 
LinkBack Thread Tools
Old 10-16-2009, 09:06 AM   #1 (permalink)
Bracer

 
Bracer's Avatar
 
Member Since: Oct 07, 2009
Location: Singapore
Posts: 14
Bracer is on a distinguished road
Template 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 ?
Bracer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-16-2009, 09:15 AM   #2 (permalink)
Bracer

 
Bracer's Avatar
 
Member Since: Oct 07, 2009
Location: Singapore
Posts: 14
Bracer is on a distinguished road
I understand now.

Xcode->Run->Console
Bracer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-16-2009, 05:18 PM   #3 (permalink)
nabl

 
nabl's Avatar
 
Member Since: Dec 13, 2007
Location: United States of America
Posts: 112
nabl will become famous soon enough
Mac Specs: 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.
nabl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

 
 
 
     
Home Calendar Get New
     

Copyright ©2001-2009 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.