Error launching remote program: security policy error.

I was helping my friend to install application on his jailbreak iPhone. It took me some time to understand the issue. Actually he have two issues, one was understanding what to do to make a build and second how to install build to his iPhone.

How to make a build for iPhone, is a question people ask me a lot and to me a build for iPhone or Apple store is the simplest thing. I already write so many blog entry how to make a build for apple store or for your iPhone (Just look in to old entry in this blog). 
Next point is when you are installing build on your iPhone, there are many error you came across, I will be writing every error here. So today I came to know about “Error launching remote program: security policy error”. Its solution is very simple
1. Open info.plist (inside Resources folder, i.e Projectname-Info.plist) in your xcode project in plain text (right click on plist and select “Open As” and then select “Plain Text File”). Before </dict> tag write 
<key>SignerIdentity</key>
<string>Apple iPhone OS Application Signing</string>
2. Now go to your iPhone (Settings -> General -> Profiles) and find the provisioning profile you are using to install the application. You will see that you have two such files, so remove the old one
Now try to install the build on your iPhone, it should work by now icon smile Error launching remote program: security policy error.  

 Error launching remote program: security policy error.
My name is Adeem M Basraa. I am a software engineer from Lahore, PK. I’ve been involved in software development for nearly 4 years, with the last 1 year focused on application development for mobile devices (iPhone & Android).

Got something to say? Go for it!