Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Unable to save #19

@smebberson

Description

@smebberson

I have the following code to produce a Dictionary for KeyClip:

var serialized: [String: String] {

    var dict = [
        "username": self.username,
        "password": self.password
    ]

    if let accessToken = self.accessToken {
        dict["accessToken"] = accessToken
    }

    if let refreshToken = self.refreshToken {
        dict["refreshToken"] = refreshToken
    }

    return dict

}

I use the following to get KeyClip to save the data:

KeyClip.save("fb-account", dictionary: account.serialized as NSDictionary)

I receive the following error:

[KeyClip] function:save(_:data:failure:) line:77 Error Domain=pw.aska.KeyClip Code=-34018 "Refer to SecBase.h for description (status:-34018)" UserInfo={NSLocalizedDescription=Refer to SecBase.h for description (status:-34018)}

This code used to work fine before Xcode 8, and KeyClip 1.4.0. I was using KeyClip 1.3.4. This occurs running on Simulator iPhone 6 with both iOS 9.0 and 10.0.

Do you have any idea of what is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions