 <p>To answer your question: Yes, I experience the same problem. It seems to work fine when running my app. But when I run my XCTests on my device it seems that the keychain returns error -34018. The strange thing is that it doesn't happen when I run the tests on the simulator. </p> <p>EDIT: I found a solution which I have explained <a href="http://stackoverflow.com/a/22305193/1145289">in this answer</a></p>