MixinNetwork / MixinNetwork/flutter-plugins

使用fts5_simple包在编译的时候提示[Class Sqlite3FlutterLibsPlugin is implemented in both.....]

Open
#287 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

您好,我在我的项目里使用了fts5_simple,在编译的时候提示如下:
Class Sqlite3FlutterLibsPlugin is implemented in both myproject/build/macos/Build/Products/Debug/myproject.app/Contents/Frameworks/sqlite3_flutter_libs.framework/Versions/A/sqlite3_flutter_libs (0x105d92598) and myproject/build/macos/Build/Products/Debug/myproject.app/Contents/Frameworks/sqlcipher_flutter_libs.framework/Versions/A/sqlcipher_flutter_libs (0x105dddb78). One of the two will be used. Which one is undefined.

我的环境是MAC+VSCODE,虽然不影响app运行,但想学习一下,如果直接指定正确的【sqlcipher_flutter_libs】来使用呢?非常感谢!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how the project includes fts5_simple and its macOS dependencies, then reproduce the build warning from the issue. Trace why both sqlite3_flutter_libs and sqlcipher_flutter_libs provide Sqlite3FlutterLibsPlugin. Done means the macOS build selects the intended sqlcipher library without the duplicate-class warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, sqlite
Domain
databases, desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.