Re: Intermittent NSURLCredential lookup failure on iOS
Re: Intermittent NSURLCredential lookup failure on iOS
- Subject: Re: Intermittent NSURLCredential lookup failure on iOS
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 08 Apr 2013 09:56:38 +0100
On 5 Apr 2013, at 18:38, Jens Alfke <email@hidden> wrote:
> The credential’s been stored persistently, i.e. in the app’s keychain. Is there any known issue in iOS where URL credential lookup might intermittently fail?
I helped someone with this issue in the context of a DTS TSI, but they adopted a workaround before we got to the bottom of the problem. The intermediate conclusion was that there's something going wrong at the SecItem API level. This is based on the fact that .hasPassword was returning YES but .password wasn't returning the actual password. Unfortunately NSURLCredential doesn't log the errors it gets back from the SecItem API, so it was hard to make further progress. What I'd like to see is this being reproduced on the simulator, at which point we can use DTrace to probe the problem at the SecItem layer would perturbing it too much.
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden