<?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>Chewy Apps</title>
	<atom:link href="http://www.chewyapps.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chewyapps.com</link>
	<description>Home of Henning Hoffmann, an iPhone developer who creates apps for others and himself.</description>
	<lastBuildDate>Mon, 08 Feb 2010 19:16:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Featured App: Mood of the Nation</title>
		<link>http://www.chewyapps.com/2010/02/08/featured-app-mood-of-the-nation/</link>
		<comments>http://www.chewyapps.com/2010/02/08/featured-app-mood-of-the-nation/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 19:09:04 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=339</guid>
		<description><![CDATA[At the end of summer 2009 I accepted a full time position with a local startup called PurpleForge. I became the first full time employee, and my job was (and still is) to create iPhone apps built on PurpleForge technology.
The first thing I did was take a prototype app they already had commissioned, and finish [...]]]></description>
			<content:encoded><![CDATA[<p>At the end of summer 2009 I accepted a full time position with a local startup called PurpleForge. I became the first full time employee, and my job was (and still is) to create iPhone apps built on PurpleForge technology.</p>
<p>The first thing I did was take a prototype app they already had commissioned, and finish it off. This app became Mood of the Nation. I took the raw app and changed a lot of the code, streamlining it and also adding a bunch of functionality as well. </p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2010/02/MotN_1.PNG" alt="MotN_1" title="MotN_1" width="320" height="460" align="right" />This is the main page which shows a graph of recent activity. You can swipe the image left and right to get more graphs. You can set up your account with the button in the bottom left corner, and also set preferences.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2010/02/MotN_2.PNG" alt="MotN_2" title="MotN_2" width="320" height="460" align="right" />In the second tab you can set your mood. When you send an update, you can also send your mood to Twitter and/or Facebook.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2010/02/MotN_3.PNG" align="right" width="320" height="460" />Here you can track what everyone is saying regarding Mood of the Nation on Twitter.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2010/02/MotN_4.PNG" alt="MotN_4" title="MotN_4" width="320" height="460" align="right" />The app also has question-of-the-day functionality. The app queries our servers for questions to ask, and after you&#8217;ve answered the question you can see everyone else&#8217;s answer as an aggregate.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2010/02/08/featured-app-mood-of-the-nation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Announces iPad</title>
		<link>http://www.chewyapps.com/2010/02/08/apple-announces-ipad/</link>
		<comments>http://www.chewyapps.com/2010/02/08/apple-announces-ipad/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 18:31:40 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=331</guid>
		<description><![CDATA[
Recently Apple introduced the iPad to a waiting world. The commentary I&#8217;ve seen has been mostly negative, but I don&#8217;t think this product is going to fail. 
Could it use some changes? Sure it could. A camera would have been really nice. Multi-tasking would have been especially nice. (Imagine having several running iPhone apps embedded [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chewyapps.com/wp-content/uploads/2010/02/iPad.png"><img src="http://www.chewyapps.com/wp-content/uploads/2010/02/iPad.png" alt="iPad" title="iPad" width="575" height="350" class="alignnone size-full wp-image-332" /></a></p>
<p>Recently Apple introduced the iPad to a waiting world. The commentary I&#8217;ve seen has been mostly negative, but I don&#8217;t think this product is going to fail. </p>
<p>Could it use some changes? Sure it could. A camera would have been really nice. Multi-tasking would have been especially nice. (Imagine having several running iPhone apps embedded into the iPad&#8217;s desktop!) Flash would have been nice, but from what I&#8217;ve heard HTML5 will provide a decent replacement.</p>
<p>So where does that leave us?</p>
<p>I&#8217;d love to have one of these, and can do without the multitasking or Flash. But I would really <strong>really</strong> like to have a camera. So we&#8217;ll see. I&#8217;ll probably be getting one anyway. I&#8217;m currently working on a new iPhone app which would work well on the iPad if I can think of a good interface.</p>
<p>I&#8217;m hopeful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2010/02/08/apple-announces-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice Rebuttal</title>
		<link>http://www.chewyapps.com/2009/10/28/nice-rebuttal/</link>
		<comments>http://www.chewyapps.com/2009/10/28/nice-rebuttal/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 20:43:48 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[advertisement]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=327</guid>
		<description><![CDATA[This is a nice little rebuttal video someone made to a recent attack ad against the iPhone.

]]></description>
			<content:encoded><![CDATA[<p>This is a nice little rebuttal video someone made to a recent attack ad against the iPhone.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/RTtEeTuc1Hw&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/RTtEeTuc1Hw&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/10/28/nice-rebuttal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fading an Image into Another</title>
		<link>http://www.chewyapps.com/2009/09/14/fading-an-image-into-another/</link>
		<comments>http://www.chewyapps.com/2009/09/14/fading-an-image-into-another/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 12:58:08 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Development Tips]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=316</guid>
		<description><![CDATA[My Pollen project required that I be able to have an image, and fade it into another image. Other projects since then have also had similar requirements. The effect is very nice, and the great thing is that the code is really quite simple. Just have two images, and do an animation from one to [...]]]></description>
			<content:encoded><![CDATA[<p>My Pollen project required that I be able to have an image, and fade it into another image. Other projects since then have also had similar requirements. The effect is very nice, and the great thing is that the code is really quite simple. Just have two images, and do an animation from one to the other. I like have one image always being the active one (when not animating), so that&#8217;s how I structured the code below. I assume you have two UIImageView&#8217;s set up named mFrontView and mBackView.</p>
<div class="codesnip-container" >
<div class="c_mac codesnip" style="font-family:monospace;">UIImage <span class="sy0">*</span>newImg <span class="sy0">=</span> <span class="co1">// get new image here;</span><br />
UIImage <span class="sy0">*</span>oldImg <span class="sy0">=</span> mFrontView.<span class="me1">image</span>;</p>
<p><span class="kw1">if</span> <span class="br0">&#40;</span> newImg <span class="sy0">!=</span> oldImg <span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>mBackView setImage<span class="sy0">:</span>mFrontView.<span class="me1">image</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; mFrontView.<span class="me1">alpha</span> <span class="sy0">=</span> <span class="nu0">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; mBackView.<span class="me1">alpha</span> <span class="sy0">=</span> <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>mFrontView setImage<span class="sy0">:</span>newImg<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>UIView beginAnimations<span class="sy0">:</span>nil context<span class="sy0">:</span><span class="kw2">NULL</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>UIView setAnimationDuration<span class="sy0">:</span>0.5<span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; mFrontView.<span class="me1">alpha</span> <span class="sy0">=</span> <span class="nu0">1</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; mBackView.<span class="me1">alpha</span> <span class="sy0">=</span> <span class="nu0">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#91;</span>UIView commitAnimations<span class="br0">&#93;</span>;<br />
<span class="br0">&#125;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/14/fading-an-image-into-another/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pricing Apps: More is Better</title>
		<link>http://www.chewyapps.com/2009/09/09/pricing-apps-more-is-better/</link>
		<comments>http://www.chewyapps.com/2009/09/09/pricing-apps-more-is-better/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 13:18:33 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=306</guid>
		<description><![CDATA[AppsFire recently did some work trying to determine which apps on Apple&#8217;s AppStore are the most profitable? Surprisingly, it&#8217;s not the cheapo $0.99 apps that are making all the money (through volume, everyone assumes). It&#8217;s the high quality apps that charge more:
This list computed using the simple UNITS SOLD x UNIT PRICE formula may yield [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/coffee.png" alt="coffee" title="coffee" width="58" height="58" class="alignright size-full wp-image-307" />AppsFire recently <a href="http://appsfire.com/thePriceIsRight.php">did some work</a> trying to determine which apps on Apple&#8217;s AppStore are the most profitable? Surprisingly, it&#8217;s not the cheapo $0.99 apps that are making all the money (through volume, everyone assumes). It&#8217;s the high quality apps that charge more:</p>
<blockquote><p>This list computed using the simple UNITS SOLD x UNIT PRICE formula may yield a few &#8216;outliers&#8217; and the science is not perfect [...]. In any case, the findings are staggering: the money makers are real apps, all very solid, all but one with a price tag greater or equal to $2.99, but often well above $10.00. The top app costs $899 and the second one $99. These apps solve real issues, and are made by solid developers. And guess what, they are deriving serious revenues too!</p>
<p>The key takeaway here is for the developers and businesses that are hard at work developing apps: if your app brings something real to the table, be it a game or a utility similar to the ones you find on the left, then price it accordingly. The price is right when there is a salary at the end of the month. Don&#8217;t succomb to the temptation of the $0.99 app, it&#8217;s a lure and only serves to feed the get-rich-quick fairy tales that even kids would find hard to believe.</p></blockquote>
<p>The only app I every put up on the AppStore is Chewy Xbox, and it was free because Microsoft said it had to be (because it accesses their Xbox Live information). And I&#8217;ll be re-releasing the app soon, with some improvements. Most of my work was done for other people, and I now have a full time job doing iPhone work.</p>
<p>So I can&#8217;t say from experience that apps that sell for more than $0.99 do better than the 99 cent apps. But if I ever do end up selling an app on the AppStore, I plan to sell if for more than 99 cents. Because I think all the time and effort I&#8217;d put into an app is worth at least the price of a coffee.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/09/pricing-apps-more-is-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Website</title>
		<link>http://www.chewyapps.com/2009/09/04/new-website/</link>
		<comments>http://www.chewyapps.com/2009/09/04/new-website/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 20:58:30 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=297</guid>
		<description><![CDATA[I bought a theme for use here, just because I think it was about time I made this place look a little more professional.
You can see some featured apps and a featured client on the main page, and soon I&#8217;ll be creating a portfolio pages that showcases all of the iPhone apps that I&#8217;ve worked [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/beach_thumb.png" alt="beach_thumb" title="beach_thumb" width="58" height="58" class="alignright size-full wp-image-298" />I bought a theme for use here, just because I think it was about time I made this place look a little more professional.</p>
<p>You can see some featured apps and a featured client on the main page, and soon I&#8217;ll be creating a portfolio pages that showcases all of the iPhone apps that I&#8217;ve worked on. </p>
<p>But for now, just relax and enjoy the new site. I think it looks pretty sharp.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/04/new-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured App: Pollen</title>
		<link>http://www.chewyapps.com/2009/09/04/featured-app-pollen/</link>
		<comments>http://www.chewyapps.com/2009/09/04/featured-app-pollen/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 20:49:10 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Chewy Apps]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Netherlands]]></category>
		<category><![CDATA[Pollen]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=295</guid>
		<description><![CDATA[The Pollen app was the first app I did for a client who knew exactly what they wanted down to the pixel. Their wireframes were so detailed, it looks like they looked into the future, took screenshots of the app, and put the screenshots into the wireframe.
They specified fonts, image sizes, backgrounds, timings (for the [...]]]></description>
			<content:encoded><![CDATA[<p>The Pollen app was the first app I did for a client who knew exactly what they wanted down to the pixel. Their wireframes were so detailed, it looks like they looked into the future, took screenshots of the app, and put the screenshots into the wireframe.</p>
<p>They specified fonts, image sizes, backgrounds, timings (for the progress indicator), and everything else down to the smallest detail.</p>
<p>This made estimating the app a lot easier. It also made actually creating the app a lot easier too. There was no second-guessing the client and then having them come back with changes.</p>
<p>It was really nice. </p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/pollen_splash.jpg" alt="pollen_splash" title="pollen_splash" width="320" height="461" class="alignright size-full wp-image-274" />Here you can see the splash screen. The problem was that the splash screen wasn&#8217;t showing for long enough. The client actually wanted people to look at the splash screen. So they requested that I make the splash sequence longer, and that I add the progress indicator.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img class="alignright size-full wp-image-273" title="pollen_map" src="http://www.chewyapps.com/wp-content/uploads/2009/09/pollen_map.jpg" alt="pollen_map" width="320" height="461" />Here you see the first image after the app is done loading. It&#8217;s a map of the country, showing pollen concentrations. I download the latest image from the internet and fade it into place over the last image downloaded. I think it&#8217;s a pretty cool effect, and it wasn&#8217;t too hard to do.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/polen_video.jpg" alt="polen_video" title="polen_video" width="320" height="461" class="alignright size-full wp-image-271" />Here is the video list. It changes depending on what&#8217;s available on the client&#8217;s site. So more pollen report videos become available over time.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/pollen_info.jpg" alt="pollen_info" title="pollen_info" width="320" height="461" class="alignright size-full wp-image-272" />Last up, this is the info page with information about the app and the pollen website and service. The link brings you to the website, prompting you first.<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/04/featured-app-pollen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured Client: Aurnhammer LLC</title>
		<link>http://www.chewyapps.com/2009/09/04/featured-app-ny-client/</link>
		<comments>http://www.chewyapps.com/2009/09/04/featured-app-ny-client/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 13:16:28 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=254</guid>
		<description><![CDATA[
Aurnhammer LLC, based in New York city, was one of my first clients as a freelance iPhone developer. I started work for them back in December of 2008, working on the P!nk app. I also worked on The Fray, the Stanley Level app, a real estate app, a vodka app, and a casino app.
I learned [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.chewyapps.com/wp-content/uploads/misc_630_250.png" width="580" height="230"/></p>
<p>Aurnhammer LLC, based in New York city, was one of my first clients as a freelance iPhone developer. I started work for them back in December of 2008, working on the P!nk app. I also worked on The Fray, the Stanley Level app, a real estate app, a vodka app, and a casino app.</p>
<p>I learned a lot about how to manage the client relationships. I do all my work from my home office in Ottawa, so we needed to use email, phone, skype, and other web based tools in order to communicate. I learned that having good bug tracking and project management systems is a must. I now use <a href="http://unfuddle.com/">unfuddle</a> with my new clients if they don&#8217;t have a system in place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/04/featured-app-ny-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Featured App: Senses</title>
		<link>http://www.chewyapps.com/2009/09/04/featured-app-senses/</link>
		<comments>http://www.chewyapps.com/2009/09/04/featured-app-senses/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 13:13:08 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=252</guid>
		<description><![CDATA[
Senses was one of the first apps that I created as a freelancer. It was definitely a learning experience, but I enjoyed it immensely. Like the P!nk and The Fray apps, I had to use audio. This time I had to play audio for the right ear and the left ear and to change the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.chewyapps.com/wp-content/uploads/senses_630_250.png" width="580" height="230"/></p>
<p>Senses was one of the first apps that I created as a freelancer. It was definitely a learning experience, but I enjoyed it immensely. Like the P!nk and The Fray apps, I had to use audio. This time I had to play audio for the right ear and the left ear and to change the volume according to what loudness is being tested. I also learned more about both user and client interaction. They client was based in Australia, so often we would have IM chats in the morning for me, but late at night for them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/04/featured-app-senses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Broken Pipes</title>
		<link>http://www.chewyapps.com/2009/09/03/fixing-broken-pipes/</link>
		<comments>http://www.chewyapps.com/2009/09/03/fixing-broken-pipes/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:31:12 +0000</pubDate>
		<dc:creator>henning</dc:creator>
				<category><![CDATA[Development Tips]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[provisioning profile]]></category>
		<category><![CDATA[XCode]]></category>

		<guid isPermaLink="false">http://www.chewyapps.com/?p=236</guid>
		<description><![CDATA[There&#8217;s nothing like the simulator for putting your app together quickly. It&#8217;s better than debugging on the device for one main reason: it&#8217;s fast! Starting up the app is fast. Debugging the app is fast. Everything is fast.
But sometimes you just need to slow down. By using the device. Of course, I was testing on [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.chewyapps.com/wp-content/uploads/2009/09/pipewrench.png" alt="pipewrench" title="pipewrench" width="150" height="150" align="right" />There&#8217;s nothing like the simulator for putting your app together quickly. It&#8217;s better than debugging on the device for one main reason: it&#8217;s fast! Starting up the app is fast. Debugging the app is fast. Everything is fast.</p>
<p>But sometimes you just need to <strong>slow down</strong>. By using the device. Of course, I was testing on the device today and made a critical error.</p>
<p>I couldn&#8217;t figure out what was wrong. I was getting error messages in the debugger console like this:</p>
<blockquote><p>putpkt: write failed: Broken pipe</p></blockquote>
<p>Or this:</p>
<blockquote><p>mem 0&#215;1000 0&#215;3fffffff cache<br />
mem 0&#215;40000000 0xffffffff none<br />
mem 0&#215;00000000 0&#215;0fff none</p></blockquote>
<p>Or even like this:</p>
<blockquote><p>Sent:  [1251990710.449:32] +<br />
Sent:  [1251990710.449:32] Hc-1<br />
Recvd: [1251990710.454:32] OK<br />
Sent:  [1251990710.455:32] qC<br />
Recvd: [1251990710.460:32] QC0<br />
Sent:  [1251990710.460:32] qStepPacketSupported<br />
Recvd: [1251990710.463:32] OK<br />
Sent:  [1251990710.478:49] QEnvironment:SHELL=/bin/bash<br />
Recvd: [1251990710.481:49] OK<br />
Sent:  [1251990710.481:49] QEnvironment:TMPDIR=/var/folders/UF/UFCJNauIGPu+F7L7bsqhZU+++TI/-Tmp-/<br />
Recvd: [1251990710.485:49] OK<br />
Sent:  [1251990710.485:49] QEnvironment:Apple_PubSub_Socket_Render=/tmp/launch-o19tpZ/Render<br />
Recvd: [1251990710.488:49] OK<br />
etc&#8230;..
</p></blockquote>
<p>It was quite frustrating.</p>
<p>So I looked around on the forums, and there were several questions about these errors, many of which went unanswered. (Forums can only get you so far sometimes.) But eventually I found the answer: <strong>you can&#8217;t debug your program if you&#8217;re using an ad hoc profile</strong>.</p>
<p>So I used the appropriate profile, and now I debug to my heart&#8217;s content. iPhone development seems to be straining with this kinds of gotchas. I just hope I remember this solution next time I find this problem. Writing it down will help, I hope! <img src='http://www.chewyapps.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.chewyapps.com/2009/09/03/fixing-broken-pipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
