Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Security Policy Error after Installing iPhone SDK 3.1

I'm working on an iPhone project in which the developer that created it has left the company. The Boss asked me to ensure it compiles on the 3.1 iPhone SDK.

After installing, it built and ran fine just once on the device.

After that, it still builds okay, but if I try to run it on the device, it halts saying Error from Debugger: Error launching remote program: Security policy Error

It won't play in the simulator either, except this time it just says "Debugging Terminated"

Does anybody have any ideas about what might be causing this?

like image 507
Kevin Laity Avatar asked Dec 03 '22 07:12

Kevin Laity


2 Answers

The problem ended up being that there was a provisioning profile (from a completely different project) that had expired. I don't know why having this unrelated profile expire would cause this problem.

Deleting the expired profile from the iPhone fixed the problem.

like image 108
Kevin Laity Avatar answered Dec 21 '22 23:12

Kevin Laity


I have written down a tutorial to solve this:

http://www.drooljunkie.com/code-uncode/beginning-iphone-app-dev-issues-part-2-running-app-on-the-device-issues/

like image 30
Vibhor Goyal Avatar answered Dec 22 '22 00:12

Vibhor Goyal