fastlanefastlane-match

How to un-set `fastlane_tmp_keychain-db` as the default keychain?


I'm not entirely sure how I get into this situation, but fastlane_tmp_keychain-db becomes my default keychain after a build, and I can't figure out how to un-set it.

enter image description here

enter image description here

There are no options here to change the defaults. Why did fastlane do this and how do I undo it?

It's definitely the default; I get "Spotlight wants to use fastlane_tmp_keychain-db" on login.


Solution

  • Took me longer to figure out than I care to admit, so I'm documenting this here also for my own reference...

    Open up Keychain Access, select the fastlane_tmp_keychain-db keychain on the left and then select Edit > Delete.

    Delete Keychain

    In the following dialog choose "Delete Keychain File" to permanently delete it.

    Confirmation Dialog

    This should fix it.

    The fastlane_tmp_keychain-db shouldn't be there in the first place. It's temporary and supposed to be deleted automatically after the lane is executed. However, judging by the number of reports and questions on this topic lately, it seems to have broken recently. Deleting it should fix any issues you might have with your Mac and shouldn't affect your Fastlane project in any way.