<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cocoa Is My Girlfriend &#187; AppStore</title>
	<atom:link href="http://www.cimgf.com/category/appstore/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cimgf.com</link>
	<description>Taglines are for Windows programmers</description>
	<lastBuildDate>Wed, 11 Jan 2012 15:00:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Revisiting git tags and building</title>
		<link>http://www.cimgf.com/2011/02/20/revisiting-git-tags-and-building/</link>
		<comments>http://www.cimgf.com/2011/02/20/revisiting-git-tags-and-building/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 00:14:33 +0000</pubDate>
		<dc:creator>Fraser Hess</dc:creator>
				<category><![CDATA[AppStore]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[microISV]]></category>

		<guid isPermaLink="false">http://www.cimgf.com/?p=1289</guid>
		<description><![CDATA[A couple of years ago I posted my scripts for tagging and building. The build script doesn&#8217;t work so well for the App Stores and the Build and Archive-based submission process, so here&#8217;s an updated approach that works inside Xcode. (Same as my last article, I&#8217;m still using git, the tag.sh script, and Apple Generic [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago I <a href="http://www.cimgf.com/2009/07/06/from-hacker-to-microisv-tagging-building-and-releasing/">posted my scripts</a> for tagging and building. The build script doesn&#8217;t work so well for the App Stores and the <strong>Build and Archive</strong>-based submission process, so here&#8217;s an updated approach that works inside Xcode. (Same as my last article, I&#8217;m still using git, the tag.sh script, and Apple Generic Versioning (agv).)</p>

<ol>
    <li>In your Xcode project, create a Shell Script target called <strong>GenGitVersion</strong>.</li>
    <li>Insert the following script in GenGitVersion&#8217;s Run Script phase, replacing the path to your git executable if need be:


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">git</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">git</span>
<span style="color: #007800;">version</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #007800;">$git</span> describe<span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;#define GIT_VERSION <span style="color: #007800;">$version</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> InfoPlist.h</pre></td></tr></table></div>


</li>
    <li>Make GenGitVersion a dependency of your main target.</li>
    <li>Add &#8220;InfoPlist.h&#8221; to your .gitignore file.</li>
    <li>In your main target&#8217;s build settings:</li>
<ol type=a>
    <li>Turn on <strong>Preprocess Info.plist File</strong></li>
    <li>Set <strong>Info.plist Preprocessor Prefix File</strong> to InfoPlist.h</li>
</ol>
    <li>In your app&#8217;s Info.plist set the <strong>Bundle versions string, short</strong> to GIT_VERSION</li>
</ol>

<p>Now each time you build the main target, the version will be populated in the build&#8217;s Info.plist.</p>

<p><strong>Examples</strong><br /></p>

<ul>
<li>If you tag a commit, the version returned by <code>git describe</code> is the tag name.</li
<li>If the current commit isn&#8217;t tagged, you&#8217;ll get the most recent tag plus the number of additional commits and an abbreviated commit name. Here&#8217;s a 1.0b1 tag with 2 additional commits: 1.0b1-2-g3925f3b. This can be a good way to identify a private developer build.</li>
<li>You can optionally add <code>--dirty</code> to <code>git describe</code> and the version will have <nobr>-dirty</nobr> appended if there are uncommitted changes to your working tree.</li>
<li><code>git describe</code> will fail if there are no tags in the current working tree.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.cimgf.com/2011/02/20/revisiting-git-tags-and-building/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>View Your iPhoto Library From Your iPad [UPDATED]</title>
		<link>http://www.cimgf.com/2010/06/23/view-your-iphoto-library-from-your-ipad/</link>
		<comments>http://www.cimgf.com/2010/06/23/view-your-iphoto-library-from-your-ipad/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 07:31:26 +0000</pubDate>
		<dc:creator>Matt Long</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[AppStore]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.cimgf.com/?p=1138</guid>
		<description><![CDATA[Announcing PhotoGrab for iPad! I wrote this little utility app that allows you to browse your iPhoto library shares across your wifi network and download and save either a hi-res version of your photos or a version resized especially for display on iPad. It features multi-download as well as a slideshow mode. Just share your [...]]]></description>
			<content:encoded><![CDATA[<p>Announcing <a href="http://photograb.skyeroadsystems.com/">PhotoGrab for iPad</a>! I wrote this little utility app that allows you to browse your iPhoto library shares across your wifi network and download and save either a hi-res version of your photos or a version resized especially for display on iPad. It features multi-download as well as a slideshow mode. Just share your photos from within your iPhoto preferences sharing tab and you will be able to access your photos across the network from your iPad.</p>

<p>I wrote the app because I don&#8217;t sync my iPad with the computer where we store all of our photos, but from time to time I like to grab a photo from the iPhoto library without having to sync.</p>

<p>I just submitted a new point release that fixes a few crashers and other bugs to the App Store, but go ahead and take a look at this one and let me know what you think.</p>

<p><a href="http://www.cimgf.com/wp-content/uploads/2010/06/appstore01.png" rel="lightbox"><img src="http://www.cimgf.com/wp-content/uploads/2010/06/appstore01-300x225.png" alt="" title="appstore01" width="300" height="225" class="alignleft size-medium wp-image-1125" /></a></p>

<h2>Free Promo Codes!</h2>

<p>Just for the readers of this site! If you&#8217;re interested in the app, send an email to <em>promocodes at cimgf dot com</em> with the subject line <strong>PhotoGrab Promo Codes</strong>. I will send an email containing a promo code to the first 50 I receive (since the Apple only issues 50 of them per version). Be patient with me as I will be responding manually as I receive the messages. It will be first come, first served. Otherwise, check it out in the App Store. Promo codes are <strong>only valid in the US App Store</strong>.</p>

<h2 style="color:red">Update on Promo Codes</h2>

<p>I have received a lot of email requests for promo codes and will be sending them to the first 50 by the end of the day today (06/23/2010). If you do not receive a code by the end of the day, you were not in the first batch. When the next release hits the App Store, I will have another 50 at my disposal and will send those to the next group. Thanks for your interest.</p>

<p><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=373208325&#038;mt=8"><img src="http://photograb.skyeroadsystems.com/wp-content/uploads/2010/05/appstorebadge.png" border="0"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cimgf.com/2010/06/23/view-your-iphoto-library-from-your-ipad/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

