• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Output to the XCode 3.0 console - News
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Output to the XCode 3.0 console - News


  • Subject: Output to the XCode 3.0 console - News
  • From: Lorenzo <email@hidden>
  • Date: Thu, 01 Nov 2007 01:57:28 +0100

After the [task launch]; my application diverges the output to the Console
application only and not longer to the XCode 3.0 console, no matter whether
running as development or deployment. This never happened on XCode 2.5 (all
the NSLog went properly to the XCode console only).

   ///////////////////// Here I get all the NSLog on the XCode console
   ///////////////////// and on the Console application too
   NSString    *commandLine = @"ifconfig en0 | grep ether | cut -d' ' -f 2";
   NSArray     *args = [NSArray arrayWithObjects:@"-c",  commandLine, nil];
   NSTask      *task = [[NSTask alloc] init];
   NSPipe      *thePipe = [NSPipe pipe];

   [task setLaunchPath:@"/bin/sh"];
   [task setArguments:args];
   [task setStandardOutput:thePipe];
   [task launch];
   ///////////////////// Now I get the NSLog on the Console application only
   [task waitUntilExit];


I need to get the NSLog on the XCode console only. How can I fix this?
Is it an XCode's 3.0 bug? Or did I miss something?


Best Regards
--
Lorenzo
email: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Output to the XCode 3.0 console - News
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: installing Dev tools on external drive(s)
  • Next by Date: Build error on Release version
  • Previous by thread: Re: installing Dev tools on external drive(s)
  • Next by thread: Re: Output to the XCode 3.0 console - News
  • Index(es):
    • Date
    • Thread