iphonexcodeiphone-sdk-3.1

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?


Solution

  • 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.