KeychainItemWrapper fix for ARC projects

Using the Apple KeychainItemWrapper in latests iOS versions gives you ARC errors, to fix you can use this ARCified version, or do the following (I prefer to use Apple signed code):

  1. Set -fno-objc-arc as a compiler flag on KeychainItemWrapper.m under Build Phases, Compile Sources.
  2.  Use __bridge_transfer in the call to the wrapper:
  3. Add an autorelease to line 196 of Apple’s code to plug Apple’s memory leak: