Director Class Error when selecting picture from library.

When I try to select a picture to be used as a physics object in my app, the photo library pops up and I get a director error

Director ERRO: Failed to execute function: 0x261b00( params ) function on ‘myappname’.

Also it lets me import the photo anyway and it fails to connect to the joint it’s supposed to connect to, while it works perfectly on the Simulator… [import]uid: 7116 topic_id: 12966 reply_id: 312966[/import]