When running my app unittest target on device all [Lockbox setString] messages returns NO and console logs SecItemCopyMatching errors with code 34018. This does not happen when unittests are performed in Simulator.
There is solution/workaround by adding code signing step for unittest target as described in http://stackoverflow.com/a/22305193/63317. May be this is worth mentioning in library documentation.
When running my app unittest target on device all [Lockbox setString] messages returns NO and console logs SecItemCopyMatching errors with code 34018. This does not happen when unittests are performed in Simulator.
There is solution/workaround by adding code signing step for unittest target as described in http://stackoverflow.com/a/22305193/63317. May be this is worth mentioning in library documentation.