<?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: Destroy Xcode Tedium</title>
	<atom:link href="http://www.red-sweater.com/blog/32/destroy-xcode-tedium/feed" rel="self" type="application/rss+xml" />
	<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium</link>
	<description>Mac &#38; Technology Writings by Daniel Jalkut</description>
	<lastBuildDate>Wed, 18 Jan 2012 18:10:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-77216</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sun, 01 Apr 2007 06:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-77216</guid>
		<description>I guess if I&#039;m going to use the variable for something different I might as well do Xcode the favor of a new name :)</description>
		<content:encoded><![CDATA[<p>I guess if I&#8217;m going to use the variable for something different I might as well do Xcode the favor of a new name :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin LaCoste</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-77215</link>
		<dc:creator>Kevin LaCoste</dc:creator>
		<pubDate>Sun, 01 Apr 2007 06:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-77215</guid>
		<description>I believe that is only true if you&#039;ll be accessing it with agvtool. Xcode doesn&#039;t seem to care what I put in there. Better safe than sorry though eh!</description>
		<content:encoded><![CDATA[<p>I believe that is only true if you&#8217;ll be accessing it with agvtool. Xcode doesn&#8217;t seem to care what I put in there. Better safe than sorry though eh!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-77209</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Sun, 01 Apr 2007 06:27:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-77209</guid>
		<description>Thanks, Kevin. I didn&#039;t know about that build setting. But after taking a quick look at it I learn that it&#039;s intended to be a numeric-only value. My value is a string that is intended to be inserted anywhere in a string that the &quot;marketing version&quot; should go. For instance, it helps that I can release builds with APPLICATION_VERSION set to something like &quot;1.0b1&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks, Kevin. I didn&#8217;t know about that build setting. But after taking a quick look at it I learn that it&#8217;s intended to be a numeric-only value. My value is a string that is intended to be inserted anywhere in a string that the &#8220;marketing version&#8221; should go. For instance, it helps that I can release builds with APPLICATION_VERSION set to something like &#8220;1.0b1&#8243;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin LaCoste</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-77208</link>
		<dc:creator>Kevin LaCoste</dc:creator>
		<pubDate>Sun, 01 Apr 2007 06:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-77208</guid>
		<description>Hey Daniel, nice bit of AppleScript work here.

I just thought I would mention that there is already a build setting in Xcode that does exactly what your &quot;APPLICATION_VERSION&quot; variable is doing. It&#039;s called &quot;CURRENT_PROJECT_VERSION&quot; and it&#039;s not set by default so you can just co-opt it for your script in new projects.

I guess it doesn&#039;t save you much time though. Setting an existing variable versus creating and setting a new one.</description>
		<content:encoded><![CDATA[<p>Hey Daniel, nice bit of AppleScript work here.</p>
<p>I just thought I would mention that there is already a build setting in Xcode that does exactly what your &#8220;APPLICATION_VERSION&#8221; variable is doing. It&#8217;s called &#8220;CURRENT_PROJECT_VERSION&#8221; and it&#8217;s not set by default so you can just co-opt it for your script in new projects.</p>
<p>I guess it doesn&#8217;t save you much time though. Setting an existing variable versus creating and setting a new one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Red Sweater Blog - Best. Template. Ever.</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-12518</link>
		<dc:creator>Red Sweater Blog - Best. Template. Ever.</dc:creator>
		<pubDate>Tue, 22 Aug 2006 02:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-12518</guid>
		<description>[...] Centralizes the marketing version in one build setting called &#8220;APPLICATION_VERSION.&#8221; Just change this build setting to easily update your release version. [...]</description>
		<content:encoded><![CDATA[<p>[...] Centralizes the marketing version in one build setting called &#8220;APPLICATION_VERSION.&#8221; Just change this build setting to easily update your release version. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff LaMarche</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-400</link>
		<dc:creator>Jeff LaMarche</dc:creator>
		<pubDate>Sat, 24 Dec 2005 22:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-400</guid>
		<description>Daniel:

Yeah, it actually does let you bump or set either the build or marketing version, or both. Historically, agvtool has not been the greatest, most stable piece of software to ever come out of Cupertino, but the current version works okay, even with Xcode open (Project Builder didn&#039;t like when you used agvtool while it was up and running). This functionality should be integrated into XCode a little better though, so I&#039;ll give your solution an edge in that regard - I like the command line, but I don&#039;t want to have to use it. 

Personally, I still haven&#039;t switched over to Subversion using Xcode yet, though I do use it for my Eclipse projects. Must add it to my list of things I don&#039;t have time to do. :)</description>
		<content:encoded><![CDATA[<p>Daniel:</p>
<p>Yeah, it actually does let you bump or set either the build or marketing version, or both. Historically, agvtool has not been the greatest, most stable piece of software to ever come out of Cupertino, but the current version works okay, even with Xcode open (Project Builder didn&#8217;t like when you used agvtool while it was up and running). This functionality should be integrated into XCode a little better though, so I&#8217;ll give your solution an edge in that regard &#8211; I like the command line, but I don&#8217;t want to have to use it. </p>
<p>Personally, I still haven&#8217;t switched over to Subversion using Xcode yet, though I do use it for my Eclipse projects. Must add it to my list of things I don&#8217;t have time to do. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Jalkut</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-391</link>
		<dc:creator>Daniel Jalkut</dc:creator>
		<pubDate>Thu, 22 Dec 2005 15:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-391</guid>
		<description>Patrick: I guess I&#039;m not sure exactly what I&#039;d gain by using the preprocessor. I can already do what I need (substitute a build setting for a token) with the solution described here.  Adding full preprocessing step seems like an unnecessary complication.

Jeff: Does the agvtool allow you to specify a marketing version in build settings? It seems to be much more focused on &quot;build versions,&quot; for which I prefer to use a home-grown &lt;a href=&quot;http://www.red-sweater.com/blog/?p=23&quot; rel=&quot;nofollow&quot;&gt;Subversion-based solution&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Patrick: I guess I&#8217;m not sure exactly what I&#8217;d gain by using the preprocessor. I can already do what I need (substitute a build setting for a token) with the solution described here.  Adding full preprocessing step seems like an unnecessary complication.</p>
<p>Jeff: Does the agvtool allow you to specify a marketing version in build settings? It seems to be much more focused on &#8220;build versions,&#8221; for which I prefer to use a home-grown <a href="http://www.red-sweater.com/blog/?p=23" rel="nofollow">Subversion-based solution</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff LaMarche</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-390</link>
		<dc:creator>Jeff LaMarche</dc:creator>
		<pubDate>Thu, 22 Dec 2005 14:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-390</guid>
		<description>This is pretty cool, but why not just use agvtool with the -all flag? Sure, you have to drop to the command line unless you want to create an AppleScript wrapper, but agvtool, being a supported product specifically designed for assigning, incrementing, and changing XCode project and marketing versions, it seems like in the long run, using agvtool as the basis for automating this process is probably a good idea.

I&#039;m a little hesitant to add a new build setting to accomplish something that there are already build settings for.

Just my 2¢, though, and this probably works fine for you.</description>
		<content:encoded><![CDATA[<p>This is pretty cool, but why not just use agvtool with the -all flag? Sure, you have to drop to the command line unless you want to create an AppleScript wrapper, but agvtool, being a supported product specifically designed for assigning, incrementing, and changing XCode project and marketing versions, it seems like in the long run, using agvtool as the basis for automating this process is probably a good idea.</p>
<p>I&#8217;m a little hesitant to add a new build setting to accomplish something that there are already build settings for.</p>
<p>Just my 2¢, though, and this probably works fine for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrick</title>
		<link>http://www.red-sweater.com/blog/32/destroy-xcode-tedium/comment-page-1#comment-389</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Wed, 21 Dec 2005 20:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.red-sweater.com/blog/?p=32#comment-389</guid>
		<description>Why don&#039;t you just use plist pre-processing, which was added to Xcode recently? Works for me.</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you just use plist pre-processing, which was added to Xcode recently? Works for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

