[!] CocoaPods could not find compatible versions for pod "CapacitorLocalNotifications"

Hello,

I am trying ionic cap sync and it gives the error from the title, anyone knows how to solve it? Thank you

Regards

I am using Ionic 5 + Capacitor 2

[!] CocoaPods could not find compatible versions for pod "CapacitorLocalNotifications":
  In Podfile:
    CapacitorLocalNotifications (from `../../node_modules/@capacitor/local-notifications`)

Specs satisfying the `CapacitorLocalNotifications (from `../../node_modules/@capacitor/local-notifications`)` dependency were found, but they required a higher minimum deployment target.

it was answered here [!] CocoaPods could not find compatible versions for pod "CapacitorLocalNotifications": In Podfile: CapacitorLocalNotifications (from `../../node_modules/@capacitor/local-notifications`) Specs satisfying the `CapacitorLocalNotifications (from `../../node_modules/@capacitor/local-notifications`)` dependency were found, but they required a higher · Issue #4358 · ionic-team/capacitor · GitHub