Security Policy Error
Posted by AVAI Mobile Developer on Fri, Apr 02, 2010 @ 10:23 AM
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.