<?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>iPhone Development Blog &#187; Errors</title>
	<atom:link href="http://iPhoneIncubator.com/blog/category/errors/feed" rel="self" type="application/rss+xml" />
	<link>http://iPhoneIncubator.com/blog</link>
	<description>Tips and Tricks for iPhone, iPod, iPad and iOS Developers</description>
	<lastBuildDate>Tue, 03 Apr 2012 15:55:48 +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>error: unable to launch the application with CFBundleIdentifier &#8216;com.foo.bar&#8217; sbs_error = 9</title>
		<link>http://iPhoneIncubator.com/blog/errors/error-unable-to-launch-the-application-with-cfbundleidentifier-com-foo-bar-sbs_error-9</link>
		<comments>http://iPhoneIncubator.com/blog/errors/error-unable-to-launch-the-application-with-cfbundleidentifier-com-foo-bar-sbs_error-9#comments</comments>
		<pubDate>Wed, 16 Jun 2010 15:48:27 +0000</pubDate>
		<dc:creator>Jess</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[error message]]></category>
		<category><![CDATA[provisioning profile]]></category>

		<guid isPermaLink="false">http://iPhoneIncubator.com/blog/?p=481</guid>
		<description><![CDATA[Xcode and the iPhone development environment has it&#8217;s share of cryptic error messages. I encountered the one in the headline the other day.
I was working on an app that has been in development for many months and attempting to deploy the app to a device for testing. I&#8217;ve done countless times in the past, but [...]<p>Post from <a href="http://iPhoneIncubator.com/blog">iPhone Development Blog</a> Copyright &copy; 2011 Nick Dalton - <a href="http://iPhoneIncubator.com/blog/portfolio">iPhone Developer</a><br/><br/><a href="http://iPhoneIncubator.com/blog/errors/error-unable-to-launch-the-application-with-cfbundleidentifier-com-foo-bar-sbs_error-9">error: unable to launch the application with CFBundleIdentifier &#8216;com.foo.bar&#8217; sbs_error = 9</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Xcode and the iPhone development environment has it&#8217;s share of cryptic error messages. I encountered the one in the headline the other day.</p>
<p>I was working on an app that has been in development for many months and attempting to deploy the app to a device for testing. I&#8217;ve done countless times in the past, but this time Xcode simply said:</p>
<pre>
(gdb) run
Running…
Error launching remote program: security policy error.
The program being debugged is not being run.
</pre>
<p>Opening the Organizer window and checking the device log revealed this:</p>
<pre>
error: unable to launch the application with CFBundleIdentifier 'com.foo.bar' sbs_error = 9
</pre>
<p>A security policy error is usually associated with your development certificate or provisioning profile. And these have a tendency to expire at the most inopportune times. But that was not the case this time.</p>
<p>However it turned out that in addition to the valid provisioning profile, this device also had an old, recently expired provisioning profile installed. This was apparently too much for the device. After removing the old provisioning profile, everything started working again. </p>
<p>So now you know one reason why your development devices keep reminding you about expiring provisioning profiles. It&#8217;s important that you <a href="http://www.drooljunkie.com/2010/03/beginning-iphone-app-dev-issues-part-2-running-app-on-the-device-issues/">remove them</a> when they expire.</p>
<p>Post from <a href="http://iPhoneIncubator.com/blog">iPhone Development Blog</a> Copyright &copy; 2011 Nick Dalton - <a href="http://iPhoneIncubator.com/blog/portfolio">iPhone Developer</a><br/><br/><a href="http://iPhoneIncubator.com/blog/errors/error-unable-to-launch-the-application-with-cfbundleidentifier-com-foo-bar-sbs_error-9">error: unable to launch the application with CFBundleIdentifier &#8216;com.foo.bar&#8217; sbs_error = 9</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iPhoneIncubator.com/blog/errors/error-unable-to-launch-the-application-with-cfbundleidentifier-com-foo-bar-sbs_error-9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/4 queries in 0.004 seconds using disk: basic
Object Caching 253/253 objects using disk: basic

Served from: iphoneincubator.com @ 2012-05-17 02:36:28 -->
