Results 1 to 3 of 3
  1. #1

    Bracer's Avatar
    Member Since
    Oct 07, 2009
    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 ?

  2. #2

    Bracer's Avatar
    Member Since
    Oct 07, 2009
    I understand now.


  3. #3

    nabl's Avatar
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Template
    By UNSHMD in forum macOS - Apps and Games
    Replies: 1
    Last Post: 05-22-2013, 03:00 AM
  2. Delete Template
    By iDriver in forum macOS - Operating System
    Replies: 7
    Last Post: 09-22-2012, 11:13 PM
  3. Cocoa/Xcode/changing template
    By marshaboggs in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 04-14-2009, 06:03 PM
  4. template problems
    By tatoniss in forum macOS - Operating System
    Replies: 0
    Last Post: 09-27-2008, 07:27 PM
  5. Flash Template.
    By waymon in forum Web Design and Hosting
    Replies: 4
    Last Post: 12-20-2006, 06:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts