Subscribe by Email

Your email:

Contact Us

AVAI Mobile Solutions Blog

Current Articles | RSS Feed RSS Feed

Security Policy Error

  | Share on Twitter Twitter | Share on Facebook Facebook | Submit to Digg digg it |  Add to delicious  delicious |  Submit to StumbleUpon StumbleUpon |  Share on LinkedIn LinkedIn |  Share On Technorati Technorati | Submit to Reddit reddit 

If you develop on the iPhone long enough, you'll eventually run into this error.

You decide to run your app on your device and for some reason it doesn't work. It just errors out and says "Error launching remote program: security policy error". You clean your project and even possibly quit Xcode, but the same error appears again and again.

What gives?

Simply put, you have an expired provisioning profile on your device. It doesn't really matter which profile. As long as there is one profile that is expired, you won't be able to run the app.

The solution is to remove the expired profile from Xcode. Go to "Organizer" and remove it from the attached device and also from the profile list.

Everything should work again just like before.

Comments

Currently, there are no comments. Be the first to post one!
Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics