Marek Bell

Search
Skip to content
  • About
Apple, Computing

Stripping NSLog output for Xcode release builds

August 29, 2011 marek 2 Comments

WARNING: the method that was posted here no longer works for Xcode 4, for an updated method that does work please click here.

Share this:

  • Facebook
  • Twitter

Post navigation

Previous PostHP in TroubleNext PostHP are still producing TouchPads!
  • muncman

    I, too, prefer the approach of sticking with the NSLog signature and using __OPTIMIZE__ that I first found at this post’s predecessor (which was here, for searchers to find: http://www.marekbell.com/Marek_Bell/Blog/Entries/2009/3/25_Removing_NSLogs_on_Release_Builds.html), which has vanished from the caches. Thanks for re-sharing!

  • Josh Brown

    This approach is so much better than the alternatives. Thanks for sharing!

Mobile Software Developer

Search

Twitter

My Tweets

Recent Posts

  • RAID alerts for macOS Server
  • Container View Controllers in Swift
  • Stripping print and debugPrint in Swift for release builds
  • How to: Create a bootable installer for OS X El Capitan 10.11
  • Ad Blocking in iOS 9
Proudly powered by WordPress