Sounds like you have your simulator set to run in secure mode (which emulates the security of an acual commericial device). Applications must be signed to access controlled API calls on a secure mode "device". Try setting the simulator to non-secure, or signing your applicaiton.