<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Create Conditional Log Statements in Xcode</title>
	<atom:link href="http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode</link>
	<description>Tips and Tricks for iPhone, iPod, iPad and iOS Developers</description>
	<lastBuildDate>Tue, 17 Apr 2012 16:54:31 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Hubert Kunnemeyer</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-22853</link>
		<dc:creator>Hubert Kunnemeyer</dc:creator>
		<pubDate>Fri, 30 Mar 2012 17:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-22853</guid>
		<description>Saves me from pulling my hair out when trying to read the debugger console output with all the date,time and other crap that I never need. This solution works great when struggling with calculations especially when all you want is a simple number or flag as output. Plus not having to worry about removing all of the NSLog()&#039;s for release builds is awesome. Thanks for the tips!</description>
		<content:encoded><![CDATA[<p>Saves me from pulling my hair out when trying to read the debugger console output with all the date,time and other crap that I never need. This solution works great when struggling with calculations especially when all you want is a simple number or flag as output. Plus not having to worry about removing all of the NSLog()&#8217;s for release builds is awesome. Thanks for the tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Add DEBUG Flag In A 3.0 Project In Xcode &#124; iPhone Development Blog</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-11977</link>
		<dc:creator>How To Add DEBUG Flag In A 3.0 Project In Xcode &#124; iPhone Development Blog</dc:creator>
		<pubDate>Sat, 18 Jun 2011 20:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-11977</guid>
		<description>[...] this post How To Create Conditional Log Statements in Xcode I described how you could add a DEBUG flag to your Xcode project setting so that you could use [...]</description>
		<content:encoded><![CDATA[<p>[...] this post How To Create Conditional Log Statements in Xcode I described how you could add a DEBUG flag to your Xcode project setting so that you could use [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-6019</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Thu, 28 Oct 2010 22:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-6019</guid>
		<description>Symbols are either defined or not defined

-DDEBUG is correct.</description>
		<content:encoded><![CDATA[<p>Symbols are either defined or not defined</p>
<p>-DDEBUG is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-3640</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 03 Jul 2010 15:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-3640</guid>
		<description>@Ben: In my limited testing GCC_PREPROCESSOR_DEFINITIONS does seem to work with LLVM. Since the setting is specifically directed at the preprocessor that seems to be the more appropriate setting to use, per Apple&#039;s document linked above. But there&#039;s nothing wrong with using OTHER_CFLAGS.</description>
		<content:encoded><![CDATA[<p>@Ben: In my limited testing GCC_PREPROCESSOR_DEFINITIONS does seem to work with LLVM. Since the setting is specifically directed at the preprocessor that seems to be the more appropriate setting to use, per Apple&#8217;s document linked above. But there&#8217;s nothing wrong with using OTHER_CFLAGS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-3590</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 30 Jun 2010 05:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-3590</guid>
		<description>Thanks Nick! Two questions: 
1)  will GCC_PREPROCESSOR_DEFINITIONS work with LLVM, if not is there an equivalent? 
2) OTHER_CFLAGS seems to work just fine for this, is there a reason why you wouldn&#039;t use it? 
Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks Nick! Two questions:<br />
1)  will GCC_PREPROCESSOR_DEFINITIONS work with LLVM, if not is there an equivalent?<br />
2) OTHER_CFLAGS seems to work just fine for this, is there a reason why you wouldn&#8217;t use it?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huy</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-1080</link>
		<dc:creator>Huy</dc:creator>
		<pubDate>Tue, 01 Sep 2009 01:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-1080</guid>
		<description>If you&#039;re going to use GCC_PREPROCESSOR_DEFINITIONS instead of OTHER_CFLAGS,
make sure to use the form &quot;DEBUG=1&quot; instead of &quot;-DDEBUG=1&quot;</description>
		<content:encoded><![CDATA[<p>If you&#8217;re going to use GCC_PREPROCESSOR_DEFINITIONS instead of OTHER_CFLAGS,<br />
make sure to use the form &#8220;DEBUG=1&#8243; instead of &#8220;-DDEBUG=1&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-381</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 11 Mar 2009 20:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-381</guid>
		<description>@Richard: There are so many ways to accomplish almost the same thing in Xcode... I used OTHER_CFLAGS based on Apple&#039;s &lt;a href=&quot;http://developer.apple.com/qa/qa2006/qa1431.html&quot; rel=&quot;nofollow&quot;&gt;Technical Q&amp;A QA1431&lt;/a&gt;.

After reading the Xcode Build Settings document carefully, I realize that GCC_PREPROCESSOR_DEFINITIONS is a more specific way to define DEBUG, and is therefore preferred. Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>@Richard: There are so many ways to accomplish almost the same thing in Xcode&#8230; I used OTHER_CFLAGS based on Apple&#8217;s <a href="http://developer.apple.com/qa/qa2006/qa1431.html" rel="nofollow">Technical Q&#038;A QA1431</a>.</p>
<p>After reading the Xcode Build Settings document carefully, I realize that GCC_PREPROCESSOR_DEFINITIONS is a more specific way to define DEBUG, and is therefore preferred. Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Parker</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-380</link>
		<dc:creator>Richard Parker</dc:creator>
		<pubDate>Wed, 11 Mar 2009 19:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-380</guid>
		<description>The GCC_PREPROCESSOR_DEFINITIONS and GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS build settings are a better choice than OTHER_CFLAGS.

All of these build settings are documented in:
http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/Xcode_Build_Settings.pdf</description>
		<content:encoded><![CDATA[<p>The GCC_PREPROCESSOR_DEFINITIONS and GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS build settings are a better choice than OTHER_CFLAGS.</p>
<p>All of these build settings are documented in:<br />
<a href="http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/Xcode_Build_Settings.pdf" rel="nofollow">http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/Xcode_Build_Settings.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iPhoneKicks.com</title>
		<link>http://iPhoneIncubator.com/blog/debugging/how-to-create-conditional-log-statements-in-xcode/comment-page-1#comment-370</link>
		<dc:creator>iPhoneKicks.com</dc:creator>
		<pubDate>Mon, 09 Mar 2009 12:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=98#comment-370</guid>
		<description>&lt;strong&gt;How To Create Conditional Log Statements in Xcode...&lt;/strong&gt;

You&#039;ve been kicked (a good thing) - Trackback from iPhoneKicks.com - iPhone SDK links, community driven...</description>
		<content:encoded><![CDATA[<p><strong>How To Create Conditional Log Statements in Xcode&#8230;</strong></p>
<p>You&#8217;ve been kicked (a good thing) &#8211; Trackback from iPhoneKicks.com &#8211; iPhone SDK links, community driven&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/13 queries in 0.016 seconds using disk: basic
Object Caching 337/339 objects using disk: basic

Served from: iphoneincubator.com @ 2012-05-17 03:07:47 -->
