{"id":74,"date":"2009-11-11T02:32:46","date_gmt":"2009-11-11T06:32:46","guid":{"rendered":"httpss:\/\/www.powenko.com\/blog\/?p=74"},"modified":"2009-11-11T02:33:04","modified_gmt":"2009-11-11T06:33:04","slug":"iphone-how-to-get-rid-of-security-policy-error","status":"publish","type":"post","link":"https:\/\/www.powenko.com\/wordpress\/?p=74","title":{"rendered":"iphone, How to Get Rid of Security Policy Error"},"content":{"rendered":"<h2>How to Get Rid of Security Policy Error<\/h2>\n<p class=\"meta-info\">\n<div class=\"entry\">\n<p>This week, after getting my new MBP, I was trying to deploy my new iPhone application to my testing device (iPhone 3G). After going through all code signing\/provisioning issues I managed to deploy my app. However, when GDM tries to run it, I was getting an exception that says \u201c<strong>Error from Debugger: Error launching remote program: Security policy Error<\/strong>\u201c.<\/p>\n<p><a rel=\"lightbox[296]\" href=\"httpss:\/\/isagoksu.com\/wp-content\/uploads\/2009\/04\/security-policy-error.png\"><img decoding=\"async\" class=\"aligncenter size-medium wp-image-162\" title=\"Security Policty Error\" src=\"httpss:\/\/isagoksu.com\/wp-content\/uploads\/2009\/04\/security-policy-errorx440.png\" alt=\"Security Policy Error\" \/><\/a><\/p>\n<p>And it was unable to run my sweet app in my device. Everything was working perfectly in Simulator, but not in device. After a little googling, I found the solution. Before going into the tip, I want to let you all know guys, this problem only occurs if your iPhone is jailbroken.<\/p>\n<p>Okayyy, here is the tip: Please just add following lines into your <em>Info.plist<\/em> file and save the world \ud83d\ude42<\/p>\n<div class=\"codecolorer-container xml twitlight\" style=\"overflow: auto; white-space: nowrap; width: 530px;\">\n<div class=\"xml codecolorer\" style=\"white-space: nowrap;\"><span class=\"sc3\"><span class=\"re1\">&lt;key<span class=\"re2\">&gt;<\/span><\/span><\/span>SignerIdentity<span class=\"sc3\"><span class=\"re1\">&lt;\/key<span class=\"re2\">&gt;<\/span><\/span><\/span><br \/>\n<span class=\"sc3\"><span class=\"re1\">&lt;string<span class=\"re2\">&gt;<\/span><\/span><\/span>Apple iPhone OS Application Signing<span class=\"sc3\"><span class=\"re1\">&lt;\/string<span class=\"re2\">&gt;<\/span><\/span><\/span><\/div>\n<\/div>\n<p>I hope it saves your day too \ud83d\ude42 Good luck!<\/p>\n<p><em>Edit: As Mike Rentas \/ @Overloaded mentioned below, if you\u2019re having this problem with the normal iPhone devices (non-jailbroken), then first try removing the old provisions from the device.<\/em><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Get Rid of Security Policy Error This week, afte [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74"}],"collection":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":0,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}