CocoaPods could not find compatible versions for pod "FirebaseInAppMessaging": In Podfile: Firebase InAppMessaging

Build fails with this error:

UserError: [!] CocoaPods could not find compatible versions for pod “FirebaseInAppMessaging”: In Podfile: Firebase InAppMessaging (= 11.5.0-beta) Check your log file for more

I am trying to use cordova-plugin-firebasex

Build Log File:
2025-01-27 08:02:01,425 - [!] CocoaPods could not find compatible versions for pod “FirebaseInAppMessaging”: In Podfile: FirebaseInAppMessaging (= 11.5.0-beta)

Not sure if this ↓ is related or not?

Oftentimes this is due to your default iOS target being set too low: CocoaPods could not find compatible versions for pod "scandit-datacapture-frameworks-core" - #3 by Deskom_Neptune

What is your current deployment target set to?

Thank you, I added <preference name="deployment-target" value="13.0" /> and it built successfully.