CapacitorStatusBar

Hi, I’m trying to install the CapacitorStatusBar and I’m getting this error when using the pod install:

[error] Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod “CapacitorStatusBar”:
In Podfile:
CapacitorStatusBar (from ../../node_modules/@capacitor/status-bar)

Specs satisfying the CapacitorStatusBar (from …/…/node_modules/@capacitor/status-bar) dependency were found, but they required a higher minimum deployment target.

I already tried to reinstall the podfile and change the targer version and nothing worked.
My configs:

Podfile
platform :ios, ‘11.0’

IOS deployment target: ios 11.0

to use any of the @capacitor/whatever plugins you need to update to Capacitor3 (all packages, core, cli, ios and android)
And @capacitor/ios 3 requires to target iOS 12

Actually I think the target ios version needs to be 13 now. This occurred for me when upgrading to Angular 13, which has a lot more version limitations…

platform :ios, '13.0'

I also had to go into my build settings in Xcode and update the deployment target

Yeah, the answer is from 2021, when Capacitor 3 came out.

Version 4 of Capacitor plugins require @capacitor/ios 4, which requires to target iOS 13.