Table of Contents
You set up a Fastlane match, but can't remember the passphrase to decrypt the repo.
If you try to run any match action, you will get something like this:
bad decrypt - Couldn't decrypt the repo, please make sure you enter the right password!
Turn your code into a snapshot: Codeshot is the best companion app for developers who want to share code snippets on social media.
There are two ways to solve this.
- Recover your lost passphrase.
- Reset your passphrase.
To recover your passphrase, you must have access to the machine that generates the repo or access it once.
Then you do the following:
- Open Keychain Access app.
- Search for
- Double click on the item and click on the Show password checkbox.
- Enter your machine password, and you will see your lost passphrase.
If you don't have access to the machine anymore, you can remove your certificates and provisioning profiles and start fresh.
To do that:
- Delete all files and folders from your match repo and commit the changes.
- Then, you can use your
You might consider running
match nuke to clean up unaccessible certificates.
Read more article about Fastlane or see all available topic
Feel free to follow me on Twitter and ask your questions related to this post. Thanks for reading and see you next time.
If you enjoy my writing, please check out my Patreon https://www.patreon.com/sarunw and become my supporter. Sharing the article is also greatly appreciated.Become a patron Tweet Share
Sort array of objects by multiple properties with Swift Tuple
Learn how tuple can help you in sorting.
How to fix "no identity found - Command CodeSign failed with a nonzero exit code" error in Xcode
There might be several reasons that cause this error. I will share one that just happened to me.