Skip to content

Flutter issues with version 3.x of package:sqlite3 #336

@simolus3

Description

@simolus3

Version 3.x of the sqlite3 package migrated to build hooks and code assets to ship SQLite instead of using Flutter-specific native build scripts with the sqlite3_flutter_libs package. There are a few issues in Flutter that prevent that from being a smooth experience at the moment. This issue lists them to have a central place for that. For Flutter users, I recommend using the 2.x versions of the package until these are fixed on your Flutter version.

Flutter copies simulator frameworks into iOS / macOS release bundle

Upstream issue: flutter/flutter#178602
Impact: Release builds are broken if you've run a debug build for iOS or macOS before (you need to run flutter clean in between).
Fixed: ❌ Still open

Flutter uses wrong framework layout on macOS

Upstream issue: flutter/flutter#178623
Impact: Uploads to the macOS app store are broken.
Fixed: ⌛ Only on the main channel, no cherry pick in sight :( This will be part of Flutter 3.40.

flutter test fails on missing XCode / clang installation

Upstream issue: flutter/flutter#178623
Impact: After adding a dependency on sqlite3, running flutter test requires an XCode installation on macOS and a clang toolchain on Linux despite the fact that flutter test doesn't actually compile your app.
Fixed: ✅ Fixed in 3.38.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions