vanelizarov / flutter_macos_webview

Flutter plugin that lets you display native WebView on macOS
MIT License
44 stars 25 forks source link

Minimum macOS version to 10.14? #6

Closed subhash279 closed 3 years ago

subhash279 commented 3 years ago

Hi, Is there a reason to set minimum macOS version to 10.14? I think most apps still run on 10.12.

Thanks!

putraxor commented 3 years ago

on Podfile

platform :osx, '10.14'
weifengsonos commented 3 years ago

on Podfile

platform :osx, '10.14'

Hi @putraxor,

After bumping up the version specified in the Podfile, I am getting the error below. How did you get around it?

Launching lib/main.dart on macOS in debug mode... Running pod install... Building macOS application...

/macos/Flutter/GeneratedPluginRegistrant.swift:8:8: error: compiling for macOS 10.11, but module 'flutter_macos_webview' has a minimum deployment target of macOS 10.14: /build/macos/Build/Products/Debug/flutter_macos_webview/flutter_macos_webview.framework/Modules/flutter_macos_webview.swiftmodule/x86_64-apple-macos.swiftmodule import flutter_macos_webview
weifengsonos commented 3 years ago

Never mind... I figured out how to fix this. I just need to re-compile Runner.xcodeproj with macOS Deployment Target set to my current Mac OS version (10.15)!