flutter_workmanager
flutter_workmanager copied to clipboard
CocoaPods could not find compatible versions for pod "workmanager":
I am getting this error when trying to run the app in ios
-> Fetching podspec for
workmanagerfrom
.symlinks/plugins/workmanager/ios`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "workmanager":
In Podfile:
workmanager (from `.symlinks/plugins/workmanager/ios`)
Specs satisfying the `workmanager (from `.symlinks/plugins/workmanager/ios`)` dependency were found, but they required a higher minimum deployment target.`
how and what should i do tried deleating the podfile still same issue
Having same issue
In ios/Podfile
make sure to Uncomment this line and set ios to 11 or higher.
platform :ios, '11.0'
Like head of this file:
https://github.com/fluttercommunity/flutter_workmanager/blob/main/example/ios/Podfile
Then change IOS deployment target
to to 11.0
like this: