Error launching remote program: security policy error.
If you get "Error launching remote program: security policy error." when building your iPhone app to test on your device, check General → Profiles for duplicate profiles where one or more of them have expired and remove them.
Hope this helps! :)