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?
secureKeyExists( ) throws error in iOS sim
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 37
- Joined: Tue Aug 21, 2012 4:46 pm
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: secureKeyExists( ) throws error in iOS sim
Hello allengwinn,
Have you checked "Secure Key Storage" in the Inclusions pane of the standalone settings?
Best,
Panos
--
Have you checked "Secure Key Storage" in the Inclusions pane of the standalone settings?
Best,
Panos
--
-
- Posts: 37
- Joined: Tue Aug 21, 2012 4:46 pm
Re: secureKeyExists( ) throws error in iOS sim
I have "search for required..." checked instead of picking them manually. It appears to work on the iPhone itself. Just not the simulator.
-
- Posts: 37
- Joined: Tue Aug 21, 2012 4:46 pm
Re: secureKeyExists( ) throws error in iOS sim
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.