views:

486

answers:

4

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?

+5  A: 

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.

Kevin Laity
Thanks! this worked for me.
John
Just had the same problem and found your solution Kevin. Worked for me to. Thanks.
Rob Segal
A: 

As Kevin indicated above, this resolved my issue as well after several hours of pain.

tekn0wledg
A: 

in my case I removed those with the same name ...

rzr