flutter_workmanager icon indicating copy to clipboard operation
flutter_workmanager copied to clipboard

CocoaPods could not find compatible versions for pod "workmanager":

Open neelayak opened this issue 2 years ago • 2 comments

I am getting this error when trying to run the app in ios -> Fetching podspec forworkmanagerfrom.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

neelayak avatar Jun 07 '22 23:06 neelayak

Having same issue

monkeydaichan avatar Sep 26 '22 01:09 monkeydaichan

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:

xcode

AnasSafi avatar Oct 01 '22 01:10 AnasSafi