We also had this error because someone committed the ipa file into git and then fastlane always used that old ipa file. So we had this error not because the certificates on the build machine expired, we had this error because the certificates we used to sign the old ipa file expired