appwrite / sdk-for-flutter

[READ-ONLY] Official Appwrite Flutter SDK πŸ’™
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
364 stars 109 forks source link

πŸ› Bug Report: [MACOS] can't compile my project on MacOs #183

Closed ande4485 closed 9 months ago

ande4485 commented 10 months ago

πŸ‘Ÿ Reproduction steps

Just create a flutter project for Mac desktop and add appwrite to yaml. And Try to run it.

πŸ‘ Expected behavior

The project is compiled.

πŸ‘Ž Actual Behavior

If I let my pod version to 10.14 :

There are some errors for pod version. compiling for macOS 10.14, but module 'flutter_web_auth_2' has a minimum deployment target of macOS 10.15: /Users/build/macos/Build/Products/Debug/flutter_web_auth_2/flutter_web_auth_2.framework/Modules/flutter_web_auth_2.swiftmodule/arm64-apple-macos.swiftmodule import flutter_web_auth_2

If I change my pod version to 10.15: error: compiling for macOS 10.14, but module 'device_info_plus' has a minimum deployment target of macOS 10.15: /build/macos/Build/Products/Debug/device_info_plus/device_info_plus.framework/Modules/device_info_plus.swiftmodule/arm64-apple-macos.swiftmodule

I tested my project on different platform (Ios, web, Android) and I get error only on MacOs

🎲 Appwrite version

Version 2.0.x

πŸ’» Operating system

MacOS

🧱 Your Environment

I had this error on appwrite: 11.0.1 But If I test on appwrite: 10.0.1 I had this issue too.

πŸ‘€ Have you spent some time to check if this issue has been raised before?

🏒 Have you read the Code of Conduct?

ande4485 commented 9 months ago

I change all target deployment ( Runner and others...) to 10.15 and it works