secureKeyExists( ) throws error in iOS sim

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

secureKeyExists( ) throws error in iOS sim

Post by allengwinn »

I have something that starts out:

if secureKeyExists(theKey) then ....

When I run it on the simulator it throws an exception. Do I need to do something (like deploy it to a "real" iPhone) in order to get it to work?
LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 870
Joined: Fri Feb 06, 2015 4:03 pm

Re: secureKeyExists( ) throws error in iOS sim

Post by LiveCode_Panos »

Hello allengwinn,

Have you checked "Secure Key Storage" in the Inclusions pane of the standalone settings?

Best,
Panos
--
allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Re: secureKeyExists( ) throws error in iOS sim

Post by allengwinn »

I have "search for required..." checked instead of picking them manually. It appears to work on the iPhone itself. Just not the simulator.
allengwinn
Posts: 37
Joined: Tue Aug 21, 2012 4:46 pm

Re: secureKeyExists( ) throws error in iOS sim

Post by allengwinn »

Yes, it just hangs on iOS too. I backed it out and went to using encrypt and decrypt with a variation on a PIN for the time being.
Post Reply