<?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>Andrew Garrett&#039;s Blog &#187; cocoa</title>
	<atom:link href="http://blog.werdn.us/tags/cocoa/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.werdn.us</link>
	<description>Development, wikis and life</description>
	<lastBuildDate>Sat, 20 Mar 2010 00:43:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>iPhone OS and Entitlements</title>
		<link>http://blog.werdn.us/2009/07/iphone-os-and-entitlements/</link>
		<comments>http://blog.werdn.us/2009/07/iphone-os-and-entitlements/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 20:03:36 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cocoa]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.werdn.us/?p=45</guid>
		<description><![CDATA[I&#8217;ve been working on iIrssi, which is a project of mine to give irssi push notifications on the iPhone.
Unfortunately, even when following Apple&#8217;s instructions for getting push notifications going, I ran into this error:
Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x1402f0 "no valid 'aps-environment' entitlement string found for application
As it turns out, I needed to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on <a title="iIrssi" href="http://iirssi.com">iIrssi</a>, which is a project of mine to give irssi push notifications on the iPhone.</p>
<p>Unfortunately, even when following Apple&#8217;s instructions for getting push notifications going, I ran into this error:<br />
<code>Error in registration. Error: Error Domain=NSCocoaErrorDomain Code=3000 UserInfo=0x1402f0 "no valid 'aps-environment' entitlement string found for application</code></p>
<p>As it turns out, I needed to give myself an entitlement called &#8216;aps-environment&#8217;, whereas I&#8217;d assumed (and I&#8217;d found nothing on the internet to contradict it) that this was an internal part of the provisioning profile, since Apple recommended I created a new provisioning profile once I&#8217;d activated APN on my application in the development portal.</p>
<p>This <a title="iPhone Development Guide: Configuring Applications" href="http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/115-Configuring_Applications/configuring_applications.html">document from Apple</a> explains how to do this.</p>
<p>I&#8217;m sort of hoping this helps somebody in the same flummoxed position as I <img src='http://blog.werdn.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.werdn.us/2009/07/iphone-os-and-entitlements/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>
