Thursday, October 14, 2010

Security policy error

run

Running…

Error launching remote program: security policy error.

Error launching remote program: security policy error.

The program being debugged is not being run.

The program being debugged is not being run.


If, when you are in the middle of debugging an app on iPhone or iPad, this error catches you, check the mobile provisioning profiles installed on the device and delete any ones that may be expired. Even though they would have nothing to do with the current project you are on, it blocks the device like a poison.

Monday, October 11, 2010

Hint: iPhone / iPad plist properties

If you are trying to add additional properties to the info.plist of a project, but the automatic plist type seems to be wrong, the fix for it is a simple trick.

ctrl-click the plist type to open as plain text file, then to text property list, and then from the menu select View > Property List Type > iPhone Info.plist.

If the values are not selectable, just repeat the process. It seems like a strange bug in Xcode.