Closed rogiervandenberg closed 5 years ago
Hi @rogiervandenberg, can you please include the output of flutter doctor
?
Also, do you have use_frameworks!
in your Podfile?
Sure and thanks Kirollos
can you please include the output of
flutter doctor
?Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.9.4, on Mac OS X 10.13.6 17G65, locale en-NL) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 10.0) [✓] Android Studio (version 3.2) [✓] VS Code (version 1.28.2) [✓] Connected devices (1 available)
• No issues found!
> Also, do you have `use_frameworks!` in your Podfile?
No, because when I do I get this message:
[!] The 'Pods-Runner' target has transitive dependencies that include static frameworks: (FirebaseFunctions, FirebaseCore, FirebaseAuth, FirebaseDatabase, and FirebaseFirestore)
So.. is there some conflict with FireBase then? ¯\_(ツ)_/¯
I'm not sure exactly, it's not an issue with the plugin, but with the Flutter build. Doing a quick Google search, I see some people were able to resolve this error by reinstalling Flutter so I guess you can try that.
I created a new project, based on Swift for iOS (flutter create -i swift
) and everything works like a charm now. Not sure why, but many thanks for thinking along! After all a 'fresh start' was the solution 🎉
When I try to use the plugin, I get this on build:
Somehow
flutter_photokit/flutter_photokit-Swift.h
is not found, any ideas?