New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Template Cocoa Template generated from Cannot NSLog


Post Reply New Thread Subscribe

 
Thread Tools
Bracer

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

Bracer is offline
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 ?
QUOTE Thanks
Bracer

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

Bracer is offline
I understand now.

Xcode->Run->Console
QUOTE Thanks
nabl

 
nabl's Avatar
 
Member Since: Dec 13, 2007
Location: United States of America
Posts: 256
nabl has a spectacular aura about
Mac Specs: 2.1GHz MacBook with 4GB RAM, Mac OS X 10.6, iLife and iWork 09

nabl is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« PackageMaker 3.0.4 | iPhone sdk stuck at 2GB. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

All times are GMT -4. The time now is 03:10 AM.

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?