GoodPersistence icon indicating copy to clipboard operation
GoodPersistence copied to clipboard

Cannot find 'KeychainWrapper' in scope

Open r3econ opened this issue 1 year ago • 2 comments

I am unable to use KeychainWrapper. It gives me Cannot find 'KeychainWrapper' in scope error. Xcode shows this class as unavailable in current scope. @KeychainValue decorator works correctly though. I imported required modules.

I did the Project Clean / Clean Derived Data / Xcode Restart.

image
  • Device: iPhone 15 Pro Simulator
  • Xcode: Version 15.4 (15F31d)
  • Version 2.3.0

Does anyone have an idea what might be wrong?

r3econ avatar Aug 29 '24 13:08 r3econ

@r3econ Hello, did you try using Keychain.default for access and Keychain.configure(with:) for configuration? The documentation for this feature seems to be out of date. I will message relevant people to update it. Thanks for the notice and understanding.

plajdo avatar Aug 30 '24 10:08 plajdo

@marekVrican can you please regenerate the documentation for this library please?

andrej-jasso avatar Sep 02 '24 13:09 andrej-jasso