-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not build Objective-C module 'SQLite3' #3207
Comments
|
I don't think that's it, My best guess is that there's another dependency also linking sqlite3, does adding this snippet fix anything? |
I am having the same issue that @psikosen and the snippet suggested but @simolus3 doesn't seem to be working, at least for this case. I am trying to figure out how to solve it. If I get something useful, I will let you know. Thanks for pointing to the snippet! Update After fighting a lot with that issue, I have to be honest: I really don't know how I "fixed" it. In the process of disabling some dependencies and trying to figure out why I was getting the redefinition error, I clean a lot of times the build directory and the pods ( When I was completely exhausted I returned to a previous commit to undo all my work, then clean the build directory but using Xcode (Product => Clean Build Folder) instead of I am not really happy with this, because I don't know exactly what happens beyond the possibility that the "Clean Build Folder" of Xcode cleans more than the If I get more information, I will let you know. Just for reference, I leave here the dependencies I am using in my dependencies:
device_info_plus: ^9.1.1
drift: ^2.15.0
flutter:
sdk: flutter
flutter_blue_plus: ^1.31.10
flutter_native_splash: ^2.3.5
flutter_riverpod: ^2.6.1
freezed: ^2.4.6
freezed_annotation: ^2.4.1
go_router: ^13.0.1
icons_plus: ^5.0.0
json_annotation: ^4.8.1
logger: ^2.0.2+1
package_info_plus: ^4.2.0
path: ^1.8.3
path_provider: ^2.1.2
permission_handler: ^11.2.0
riverpod_annotation: ^2.6.1
shared_preferences: ^2.2.2
sqlite3: ^2.4.6
sqlite3_flutter_libs: ^0.5.19
flutter_spinkit: ^5.2.0
dio: ^5.4.3+1
embrace: ^3.0.1
embrace_dio: ^3.0.0 Update As another note, the only difference I see in my Updated I confirm that my codebase is now running on both, iOS and Android, using the |
Describe the bug
When trying to build for iOS `flutter build iOS
The text was updated successfully, but these errors were encountered: