• 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
NSLog and deployment builds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLog and deployment builds


  • Subject: NSLog and deployment builds
  • From: "James J. Merkel" <email@hidden>
  • Date: Sun, 30 Jan 2005 22:30:13 -0800

Probably like a lot of other people I have dozens of NSLog statements in my code for debug purposes during development.
But when I want to finally release the code and create a Deployment build, all of those NSLog statements need to be commented out (or else they just go to the console which is a waste).


Suggestion to the xcode team -- why not have an option in the Deployment build style to not compile NSLog statements?
The statements would still be there in Development builds -- so I wouldn't need to un-comment them again if I wanted to use them again.


Not sure if this would be difficult or easy to do, but its just a suggestion.

Jim Merkel

_______________________________________________
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: NSLog and deployment builds
      • From: Larry Fransson <email@hidden>
  • Prev by Date: Re: variable question?
  • Next by Date: Re: FILE -> NEW CLASS (Placement of newly created subclass)
  • Previous by thread: XCode 1.5: EXECUTABLE_SUFFIX broken?
  • Next by thread: Re: NSLog and deployment builds
  • Index(es):
    • Date
    • Thread