Back

[SOLVED] Error with flutter SDK for macOs target

  • 0
  • Flutter
toine
13 Dec, 2023, 12:07

I wrote a bug in appwrite SDK but nothing happened ( https://github.com/appwrite/sdk-for-flutter/issues/183) It' s not possible to compile a project with appwrite SDK for flutter for macos target. I don't know how to solve it. Thank you

TL;DR
The user is experiencing an error with the flutter SDK for macOS target. They initially changed the deployment target for Runner to resolve the issue. However, they are still encountering the same error in both their real project and an empty project. The user suspects the error may be due to conflicts with the pod version and the packages flutter_web_auth_2 and device_info_plus. They confirm that the error persists even in an empty project with only the appwrite package. The user asks if others are experiencing different errors and if they are using the device_info_plus package. There is mention of a bug report filed for the appwrite SDK, but no response
D5
13 Dec, 2023, 13:14

This doesn't looks an appwrite issue at all

D5
13 Dec, 2023, 13:15

Are you using device_info_plus package?

toine
13 Dec, 2023, 13:21

No ,to avoid any problem with others packages, I created an empty flutter project with Android, Ios and macos target and I have only a problem with macOs.

D5
13 Dec, 2023, 13:25

And do you get any different error?

D5
13 Dec, 2023, 13:25

When the project is empty with only appwrite?

toine
13 Dec, 2023, 13:42

No, I don't get any different error. In my real project with a lot of dependencies and in an empty project ( basic flutter project template) with only appwrite package in yaml, I have the same error with pod version and the package flutter_web_auth_2 and device_info_plus. May be because I'm on mac arm64 and these 2 package are in conflict with pod version?

Drake
14 Dec, 2023, 03:27

Did you update the deployment target for your project? It's not just in the Podfile

toine
15 Dec, 2023, 16:48

OK I'll close the bug. I change all deployment target for Runner etc for 10.15 and it works. Thank you

Drake
15 Dec, 2023, 17:18

[SOLVED] Error with flutter SDK for macOs target

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more