Yes, I managed to resolve it too by updating the runner image. Was using macos-latest as well. However, I did not specify the version code to 15.2 in Fastlane, what I did was use https://github.com/marketplace/actions/setup-xcode-version to select the Xcode version in GitHub Actions.