Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The plugin "image_editor_common" requires a higher minimum macOS deployment version #135

Answered by schufty
schufty asked this question in Q&A
Discussion options

I apologize for what must be a very basic question, but I've added image_editor to my project and it works great, except when I try to run on macOS desktop I get the following error:

Error: The plugin "image_editor_common" requires a higher minimum macOS deployment version than your application is targeting.
To build, increase your application's deployment target to at least 10.15 as described at
https://docs.flutter.dev/deployment/macos

I've followed the descriptions at the doc.flutter.dev link. Changing the minimum macOS deployment in the Runner target didn't work. Neither did changing the macOS deployment target in the Runner project. I'm new to flutter and XCode, what am I missing?

Additional info: I grep'd the macos directory in my project for "10.14" (which is the default minimum macOS version), and got 30+ hits spread across four files, after I had changed the deployment target as above ^. Do I need to manually change each of those lines?

Added: This is happening in the build, it's coming from CocoaPods when it's analyzing dependencies.

Also: I've tried running flutter clean build macos, still getting the minimum deployment target error.

You must be logged in to vote

I found the answer. In addition to the updating the Runner project and target in XCode, I also needed to manually edit macos/Podfile and change the first line to:

platform :osx, '10.15'

Then everything ran normally.

Replies: 1 comment

Comment options

I found the answer. In addition to the updating the Runner project and target in XCode, I also needed to manually edit macos/Podfile and change the first line to:

platform :osx, '10.15'

Then everything ran normally.

You must be logged in to vote
0 replies
Answer selected by schufty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /