<?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>Chris Hardie&#039;s Blog &#187; iphone</title>
	<atom:link href="http://www.chrishardie.com/blog/tag/iphone/feed" rel="self" type="application/rss+xml" />
	<link>http://www.chrishardie.com/blog</link>
	<description>Personal Blog for James Christopher Hardie</description>
	<lastBuildDate>Mon, 16 Aug 2010 16:54:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone iOS4 IMAP mail syncing problems</title>
		<link>http://www.chrishardie.com/blog/2010/08/iphone-ios4-imap-mail-syncing-problems.html</link>
		<comments>http://www.chrishardie.com/blog/2010/08/iphone-ios4-imap-mail-syncing-problems.html#comments</comments>
		<pubDate>Wed, 04 Aug 2010 14:52:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[consumer watch]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[customer_service]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://www.chrishardie.com/blog/?p=995</guid>
		<description><![CDATA[I offer this account of trying to address a known (and I would say, severe) bug in the iPhone 4 mail software, in case it's helpful to others:
Ever since I upgraded my iPhone to IOS4 (the latest version of the phone's operating system), the Mail application has been flaky when it comes to syncing mail [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Market musician by Chris Hardie, on Flickr" href="http://www.flickr.com/photos/chrishardie/4752802877/"><img src="http://farm5.static.flickr.com/4094/4752802877_8b83345c02_m.jpg" border="1" alt="Market musician" hspace="10" width="180" height="240" align="right" /></a>I offer this account of trying to address a known (and I would say, severe) bug in the iPhone 4 mail software, in case it's helpful to others:</p>
<p>Ever since I upgraded my iPhone to IOS4 (the latest version of the phone's operating system), the Mail application has been flaky when it comes to syncing mail messages via IMAP. Duplicate messages, empty/blank messages, messages dated 12/31/1969, messages that are deleted and then re-appear, and so on.</p>
<p>At first I thought it might be my phone hardware, which had been cursed from the beginning (a story for another time), but after that phone died and Apple replaced it with a brand new one with fresh firmware and settings, and it STILL happened, I was convinced it's the software on the phone.  Other people are having the same issue <a href="http://discussions.apple.com/thread.jspa?threadID=2478179&amp;tstart=120">all</a> <a href="http://discussions.apple.com/message.jspa?messageID=11721554">over</a> <a href="http://discussions.info.apple.com/thread.jspa?threadID=2472435">the</a> <a href="http://discussions.apple.com/thread.jspa?threadID=2522445&amp;tstart=240">place</a>.  But it can be hard to make Apple believe this - said the Apple Genius Bar worker at the Apple Store in Chicago, "they're probably all just using the phone wrong."  Wha?</p>
<p><span id="more-995"></span>So I decided to look at the source code of the iPhone mail program to see if I could find the problem, but Apple doesn't make that source code available.</p>
<p>So I decided to turn on the Mail program's debugging options to have it output the results of the IMAP sync sessions, but it turns out the Mail program doesn't have any debugging options.</p>
<p>So I decided to look at the log files on the phone's operating system to see if they reported any software issues I could address, but actually I can't look at those log files even if they exist because Apple doesn't let you look behind the scenes.</p>
<p>So I decided to report the issue on the project mailing list that all of the iOS4 developers monitor, and it turns out that no such mailing list exists.</p>
<p>So I decided to go report the issue to Apple to see if they can help.</p>
<p>After submitting a case online, I was called back in 27 seconds (FAST!) and talked to Chris from Apple, who works in iPhone support.  He was very good at gauging my level of tech savvy and talking to me at an appropriate level, so he quickly confirmed that I'd already done all of the normal troubleshooting steps they recommend.  I asked him if this was a known bug, and he said not as far as he could tell.</p>
<p>Chris then connected me with Shawn who is a senior adviser on the iPhone tech support team.  Shawn told me that in fact I had identified a known bug with the iOS4 firmware.  VINDICATION!  He said that they've mostly been seeing it in gMail syncing issues, but that they're aware of it as a wider IMAP issue.</p>
<p>I asked Shawn for the unique identifier number for the bug so that I could go follow the progress of a fix on their public bug tracking system, but it turns out that Apple doesn't publish information about known bugs until they're fixed.</p>
<p>I asked Shawn how I could learn more information about when this would be addressed or other recommended fixes in the meantime, and he said I would just have to wait and see.</p>
<p>(Chris and Shawn at Apple were excellent tech support reps within the confines of what they're allowed to do and say.)</p>
<p>Bottom line: these are the horrors of using a closed-source, proprietary product for a key piece of tech functionality in my life.</p>
<p>What Apple can do better:</p>
<ul>
<li>Test its Mail software's IMAP syncing functionality more thoroughly before releasing it to production.</li>
<li>Publish information about known software/hardware issues BEFORE they're resolved so that people having those issues can see what's up and possibly even contribute to the resolution.</li>
<li>Train its store Genius Bar workers so that they don't dismiss a legitimate complaint about functionality problems with smiling condescension.</li>
<li>I'm pushing it here, but hey, it's my blog: release the source code for iOS and related applications.</li>
</ul>
<p>If you've had this issue with your iPhone, or similar software/hardware troubleshooting experiences with other vendors, feel free to share in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishardie.com/blog/2010/08/iphone-ios4-imap-mail-syncing-problems.html/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Using the iPhoneOS SDK on older PPC Macs</title>
		<link>http://www.chrishardie.com/blog/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs.html</link>
		<comments>http://www.chrishardie.com/blog/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs.html#comments</comments>
		<pubDate>Sat, 03 Jan 2009 19:25:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.chrishardie.com/blog/?p=503</guid>
		<description><![CDATA[I'm just getting started with developing applications for the iPhone / iPod Touch, and one of the first real hurdles I encountered was that Apple didn't make it easy by default to use their iPhoneOS SDK on non-Intel Macs.  With some Googling around I was was able to find a variety of articles that [...]]]></description>
			<content:encoded><![CDATA[<p>I'm just getting started with developing applications for the iPhone / iPod Touch, and one of the first real hurdles I encountered was that Apple didn't make it easy by default to use their iPhoneOS SDK on non-Intel Macs.  With some Googling around I was was able to find a variety of articles that mentioned workarounds, but the comprehensive solution was spread across lots of blog post comments, forum postings, etc.  So, for my own reference and hopefully as assistance to anyone else who might be in the same boat, I'm consolidating the steps here.</p>
<p><span id="more-503"></span>I'm using a 1.5GHz Powerbook G4, which uses the PowerPC (PPC) architecture.  I downloaded version 2.2 of the iPhoneOS SDK, build 9m2621-final.</p>
<p>After the regular installation of the <a href="http://developer.apple.com/iphone/">iPhoneOS SDK</a> (which is really just the regular Xcode install with some additional packages thrown in) was complete, the Xcode new project menu was notably missing the option to choose the iPhone platform.  On the advice of <a href="http://3by9.com/85/dont-have-an-intel-machine-but-want-to-code-for-the-iphone-anyway-follow-these-steps/">this 3by9 article</a>, I took these steps:</p>
<ol>
<li>Mount the SDK installer disk image</li>
<li>Open the packages folder</li>
<li>One at a time, install all of the .pkg files that begin with "iPhone", using the default install destination</li>
<li>When done, you'll have a "Platforms" directory in the root level of your Mac's hard drive.  Move the contents of that directory into the <code>/Developer/Platforms/</code> directory.  If you're like me, when you're done, you'll have three directories in <code>/Developer/Platforms</code>: "iPhoneOS.platform", "iPhoneSimulator.platform" and "MacOSX.platform".</li>
</ol>
<p>Once that step is done, you'll be able to launch Xcode and create new projects that use the iPhoneOS platform and application types.  But, you still won't be able to build or run those applications, because Apple has hardcoded the "i386" (Intel) architecture as the only valid one to compile for.  Thanks to a variety of comments on the above 3by9 post and comments 23-25 on <a href="http://www.tuaw.com/2008/03/27/iphone-sdk-beta-2-now-hitting-the-streets/2#comments">this TUAW article</a>, here are the remaining steps to address that:</p>
<ul>
<li>Close Xcode and edit this file (perhaps after making a backup): <code>/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Specifications/iPhone Simulator Architectures.xcspec</code></li>
<li>Change line 12 to read <code>Name = "Standard (iPhone Simulator: i386 ppc)";</code></li>
<li>Change line 16 to read <code>RealArchitectures = ( i386, ppc );</code></li>
<li>Add this chunk before the last closing parentheses:

<div class="wp_syntax"><div class="code"><pre class="objective_c" style="font-family:monospace;">     // PowerPC
     { 
          Type = Architecture;
          Identifier = ppc;
          Name = &quot;PowerPC&quot;;
          Description = &quot;32-bit PowerPC&quot;;
          PerArchBuildSettingName = &quot;PowerPC&quot;;
          ByteOrder = big;
          ListInEnum = NO;
          SortNumber = 106;
     },</pre></div></div>

</li>
<li>Save the file and close it.  Now relaunch Xcode.</li>
<li>With Xcode open and your project loaded, right click on the project name under the "Groups &amp; Files", and select "Get Info"</li>
<li>Under the "Build" tab and in the "Architectures" menu, change these options:<br />
Set <code>Architectures</code> to "Native Architecture of Build Machine"<br />
Set <code>Base SDK</code> to "Simulator - iPhoneOS 2.2"<br />
Leave <code>Build Active Architecture Only</code> checked<br />
Edit <code>Valid Architectures</code> to be not only include armv6, but also "ppc" and "i386".<br />
(I think some of these may be redundant, but it's the combination that's working for me.)</li>
</ul>
<p>When you next build your project, you shouldn't get any errors about <code>VALID_ARCHS</code>.</p>
<p>I hope that's helpful.  Since this is only one particular combination of build hardware/architecture and SDK software version, I'm sure there are other combinations out there where the above may not work, your mileage may vary.</p>
<p>Now, back to working on building an actual application...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrishardie.com/blog/2009/01/using-the-iphoneos-sdk-on-older-ppc-macs.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
