Fastlane Match Unknown Password
I ran into an issue where all our iOS app profiles expired. Since we use a pipeline with Fastlane Match to manage them, the solution seemed straightforward: just run fastlane match
again to generate new profiles and certificates.
The problem? I didn’t have the Fastlane Match password. The only place it was stored was in a CI environment variable marked as a secret—meaning I had no way to access it. The Fastlane documentation wasn’t much help, and even my nearest 🤖 didn’t have the answer. Eventually, I stumbled across a Medium article that pointed me in the right direction.
The fix:
- Delete everything from the Match repo, commit, and push.
- Run Fastlane Match again.
fastlane match appstore
Set a new match password and provide:
- My Apple ID
- The repo URL
- The app’s bundle identifiers in a comma-separated string with no spaces (ask me how I know).
Then 💥 nothing but green messages in my terminal, with profiles successfully stored in Git and on the Apple Developer account.