SFHFKeychainUtilsErrorDomain error -2000

931 Views Asked by At

The operation could not be completed. (SFHFKeychainUtilsErrorDomain error -2000.)(trouble with password) SFHFKeychainUtilsErrorDomain used by MKStorekit.

1

There are 1 best solutions below

1
On

After much toiling I think I solved this one. It has to do with the way MKStoreKit stores data in the keychain. In your MKStoreKitConfigs.plist, make sure you've added the keys "Name" and "Cost" for your consumables:

enter image description here

I had initially left the dictionaries empty and I was getting that error. Once I added the Name and Cost key-value pairs, everything worked as expected.