I am experiencing an issue with Fastlane Match on Bitrise while trying to retrieve provisioning profiles. The build fails with the following error:
[04:38:57]: wrong final block length
[04:38:57]: Couldn’t decrypt the repo, please make sure you enter the right password!
[!] Invalid password passed via ‘MATCH_PASSWORD’
Download or installation failed, error: exit status 1
Additional Information:
- I have confirmed that
MATCH_PASSWORD
is set correctly in Bitrise Secrets. - I start experiencing this issue after creating a new Apple Certificate.
- The reason for creating the new Apple Certificate is that the same Fastlane Match step in my Bitrise CI was throwing the error:
[!] Your certificate '<cert_id>.cer' is not valid. Please check the expiration date and renew it if necessary.
Any help is appreciated, Thanks in advance!