iPhone development is fun most of the time, but can be more than frustrating at times as well.
Apple didn’t make the running app on the device a simple task. A developer has to deal with a lot of things like AppIDs, identifiers, certificates and Provisioning profiles before he/she is able to see it running on his/her device.
The process is complicated for a beginner but is well documented by Apple, and you would be fine as long as you follow the instructions.
But some times, some weird errors show up, which do not describe themselves well and are totally vague.
One of such errors which has a potential to leave you scratching your head is:
“Error from Debugger: Error launching remote program: Security policy Error”
When I was hit with this error, I did a lot of web search, and people gave multiple solutions, but what worked for me is the following:
“Remove the expired profiles installed on the device.”
I don’t understand why having expired profiles on the device should be a problem, but for some reason Apple doesn’t seem to like it.
So, to help my fellow developers, I would like to jot down the steps to perform this action:
On your device, tap on settings and then choose the General tab, scroll down to the bottom to see the Profiles tab:
Now tap on the Profiles tab, and you would see various profiles installed. The ones that have expired, will be highlighted with the red text describing the issue:
Now go ahead delete the expired profiles by tapping on them one by one:
Once you have removed all the expired profiles, go ahead and re-run the app, and this time it would successfully run on the device.
DroolJunkie hopes that would help you solve this issue. Do let us know in the comments if that did work out for you or not.
Sphere: Related Content
Related posts:
- Beginning iPhone App Dev Issues: Part 1 (viewDidLoad, viewWillAppear and didReceiveMemoryWarning) iPhone app development is one of the most exciting and...
Related posts brought to you by Yet Another Related Posts Plugin.




