You can find the solution here: https://github.com/fastlane/fastlane/issues/22051#issuecomment-2978738326