# Tests involving keychain access in iOS

**URL:** <https://discuss.bitrise.io/t/tests-involving-keychain-access-in-ios/1085>\
**Category:** Builds\
**Created:** [March 9, 2017, 11:48am UTC](https://discuss.bitrise.io/t/tests-involving-keychain-access-in-ios/1085 "2017-03-09T11:48:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [March 9, 2017, 12:09pm UTC](https://discuss.bitrise.io/t/tests-involving-keychain-access-in-ios/1085/2 "2017-03-09T12:09:00Z")

</div>

> fails on Bitrise and succeeds locally.

Can you please follow this guide and let us know if that helps:

> [@How to debug your build locally / "It works on my Mac/PC but not on bitrise.io"](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392):
>
> If the build works on your local Mac/PC but not on [bitrise.io](https://www.bitrise.io), that’s usually because of uncommitted / gitignored files or a tool version difference. There can be other reasons, for example in case of iOS code signing errors it’s usually because a code signing file which is available on your Mac, but you did not upload it to [bitrise.io](https://www.bitrise.io) and so it’s not available there. In any case, the first steps you should try, preferably before you’d report the issue (as this will be the first thing we’ll ask…

Also, how do you run your tests? With our Xcode Test step?  
What’s the error?

---

_[View the full topic](https://discuss.bitrise.io/t/tests-involving-keychain-access-in-ios/1085)._
