1

i want save password and id in my app. i downloaded

[KeychainItemWrapper][1]

https://developer.apple.com/library/ios/samplecode/GenericKeychain/Introduction/Intro.html

and added KeychainItemWrapper.h/m in my project .when want to use class getting this issue. enter image description here

2 Answers2

7

Better use other wrapper library than the one from Apple like FXKeychain or SSKeychain because the one from Apple does not support ARC, but if u want to use it then navigate to project's build phase -> Compile source -> Change that KeychainItemWrapper.m compiler flag to -fno-objc-arc

A newer keychain lib one is Locksmith

Tj3n
  • 9,837
  • 2
  • 24
  • 35
0

You can disable ARC flag with fno-objc-arc compile flag in Project Settings -> Build Phases -> KeycchainItemWrapper.m

tatiana_c
  • 948
  • 7
  • 16
  • 31