<?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>TouchCentric &#187; Uncategorized</title>
	<atom:link href="http://www.touchcentric.com/blog/archives/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.touchcentric.com/blog</link>
	<description>iPhone-centric stuff we're thinking about</description>
	<lastBuildDate>Wed, 25 Aug 2010 17:09:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Android requires .class compatibility</title>
		<link>http://www.touchcentric.com/blog/archives/107</link>
		<comments>http://www.touchcentric.com/blog/archives/107#comments</comments>
		<pubDate>Thu, 22 Jul 2010 12:54:26 +0000</pubDate>
		<dc:creator>Rob Terrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.touchcentric.com/blog/?p=107</guid>
		<description><![CDATA[Among new iOS developers, the awfulness of XCode is a well-accepted fact. I get it: for anyone coming over from Visual Studio, it can be a rough ride. It&#8217;s like switching from a Range Rover (immaculately detailed, perfectly climate controlled, exquisite sound system) to a beat-up old jeep (cloth top open, doors off, windshield down). [...]]]></description>
			<content:encoded><![CDATA[<p>Among new iOS developers, the awfulness of XCode is a well-accepted fact. I get it: for anyone coming over from Visual Studio, it can be a rough ride. It&#8217;s like switching from a Range Rover (immaculately detailed, perfectly climate controlled, exquisite sound system) to a beat-up old jeep (cloth top open, doors off, windshield down). It&#8217;s a rougher ride, but there are places you&#8217;ll take that jeep you would never dare drive the Range Rover, and you&#8217;ll be better off for it.</p>
<p>I was thinking about common developer complaints about XCode today when doing a little Android work. I grabbed the latest code to one of our Android projects today, opened it in Eclipse, and tried to build it. It failed with the following reason:</p>
<p><code>Android requires .class compatibility set to 5.0. Please fix project properties.</code></p>
<p>If you open the project properties and dig through every pane, sub-pane, and sub-sub pane, you&#8217;ll never find an option for &#8220;.class compatibility.&#8221; </p>
<p>Obtuse error messages? Inadequate instructions? Just like XCode! </p>
<p>But to be fair, XCode has gotten tremendously better in recent releases. Error messages are greatly improved. Common errors are found and fixed for you. The current release will even automatically connect to the Provisioning Portal and manage devices and profiles for you. Without a doubt the biggest impediment to developers learning the iOS platform is dealing with certificates and profiles, and XCode just made it automatic. Nowadays most complaints about XCode are really just veiled complaints about gdb, objective-c syntax, or Macs in general.</p>
<p>Anyway, back to Android. What&#8217;s the fix? Don&#8217;t actually try to fix the project properties yourself. Right-click on the project name in the project explorer and, in that stupidly long menu, go to the 28th item (seriously, I counted them, it&#8217;s 28 not counting the separators) called &#8220;Android Tools,&#8221; and in the submenu, go to the last item called, appropriately enough, &#8220;Fix Project Properties.&#8221;</p>
<p>I love driving jeeps. I love the wind stinging my eyes and bugs getting stuck in my hair. But even I have limits. Hey, Android Development Tools: would it kill you to maybe execute that yourself if you see that it needs to be done? </p>
]]></content:encoded>
			<wfw:commentRss>http://www.touchcentric.com/blog/archives/107/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What&#8217;s a Security Policy Error?</title>
		<link>http://www.touchcentric.com/blog/archives/83</link>
		<comments>http://www.touchcentric.com/blog/archives/83#comments</comments>
		<pubDate>Wed, 02 Sep 2009 18:55:06 +0000</pubDate>
		<dc:creator>Rob Terrell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.touchcentric.com/blog/?p=83</guid>
		<description><![CDATA[Hey iPhone developers! Ever seen this one? You try to run or debug your app on the iPhone, but suddenly and for no apparent reason, XCode fails to run the app and throws this error in the runlog: &#8220;Error launching remote program: security policy error&#8221;? And you start the pulling of hair and gnashing of [...]]]></description>
			<content:encoded><![CDATA[<p>Hey iPhone developers! Ever seen this one? You try to run or debug your app on the iPhone, but suddenly and for no apparent reason, XCode fails to run the app and throws this error in the runlog: &#8220;Error launching remote program: security policy error&#8221;?</p>
<p>And you start the pulling of hair and gnashing of teeth and try everything you can think of? But cleaning and rebuilding does nothing to help. Reboot of the device does nothing. Even that most tempting all Mac voodoo, the Needless Reboot of the Mac, does nothing to help.</p>
<p>Fear not, I&#8217;ve got the answer. And the simple answer is, you had a provisioning profile on the device expire. Yes, I know the profile for <em>this particular app</em> didn&#8217;t fail. Even if the expired provisioning profile has nothing to do with this app, has never been used for this app, has no device ID similarities with this app, your app won&#8217;t launch on the device.</p>
<p>Until you delete the expired provisioning profile, that is. Go to the &#8220;Organizer&#8221; window in XCode, click on the device, and delete the profile. Go to the profile list, and delete the profile there. Once you delete the profile, everything works again, as if magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.touchcentric.com/blog/archives/83/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

