Baseflow / flutter_cache_manager

Generic cache manager for flutter
https://baseflow.com
MIT License
740 stars 429 forks source link

Could not build example project in Xcode #279

Closed cuong0993 closed 3 years ago

cuong0993 commented 3 years ago

🐛 Bug Report

I opened example project, open iOS workspace but cannot build it in Xcode. Error is

Undefined symbols for architecture x86_64: "_OBJCCLASS$_FMDatabaseQueue", referenced from: objc-class-ref in SqflitePlugin.o ld: symbol(s) not found for architecture x86_64

Screen Shot 2021-02-12 at 17 44 32

Expected behavior

Project can be built

Reproduction steps

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/cuong/Library/Android/sdk • Platform android-30, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.4, Build version 12D4e • CocoaPods version 1.10.1

Version: 2.1.1

Platform:

renefloor commented 3 years ago

I switched to stable, went to the example and did flutter clean and flutter run. This runs just fine on iOS. After that I could just 'open iOS module' from android studio and run it from xcode. Maybe flutter clean can help you?

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.