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 » Thu Jan 03, 2019 10:53 pm

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: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: secureKeyExists( ) throws error in iOS sim

Post by LiveCode_Panos » Fri Jan 04, 2019 12:37 pm

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 » Fri Jan 04, 2019 10:24 pm

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 » Mon Jan 07, 2019 3:37 pm

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

Return to “iOS Deployment”