'ffmpegkit/FFmpegKitConfig.h' file not found - flutter

While trying to build my Flutter App in Xcode im getting following error
'ffmpegkit/FFmpegKitConfig.h' file not found
The App is running successfully in VS-Code .
I tried already hours to solve it. But I did not find any solution.
Flutter 2.10.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 7e9793dee1 (3 months ago) • 2022-03-02 11:23:12 -0600
Engine • revision bd539267b4
Tools • Dart 2.16.1 • DevTools 2.9.2
If more information needed please let me know.

I finally found the issue . The Problem was that for the package that I installed
https://pub.dev/packages/video_editor/example
I changed the iOS version in podfile to 13.0. And I forgot to change the version in my xcodeworkspace.

Related

ChromeProxyService: Failed to evaluate expression how to solve?

I'm debugging a code but every time I try to see the variable values it shows this message. does anyone know how to resolve?
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 135454af32 (5 weeks ago) • 2022-12-15 07:36:55 -0800
Engine • revision 3316dd8728
Tools • Dart 2.18.6 • DevTools 2.15.0
google chrome version 109.0.5414.75 64 bit
I searched the internet and it was telling me to update flutter to a version greater than 3.0 and google chrome to the newest version and even so it continues to give this error. I tried to run the project in another browser but the same error message appears. in short, none of the solutions I've found to date allowed. I even formatted the computer and today I have Windows 11

ListWheelScrollView not woking sometime in web

This problem occurred on the web for me when using CupertinoDatePicker
And it seems that the main problem is from the ListWheelScrollView
please guide me
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (4 months ago) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2
I tested all the code in a new project and there is nothing else inside the main page, so it is not a dependency

Xcodebuild fail flutter

I am new to flutter and Xcode, I got a new MacBook pro m1 max and I have a problem with my Xcode build when I try to launch my flutter application, flutter doctor gives me this error:
[!] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-arm, locale en-FR)
• Flutter version 3.3.8 on channel stable at /Users/rixez/Developers/medissimo/mobil/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 52b3dc25f6 (8 days ago), 2022-11-09 12:09:26 +0800
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
and when I try to launch the application here is the message.
2022-11-17 10:24:39.622 xcodebuild[5938:33408] apply_selection_policy_once: avoid use of removable GPUs (via com.apple.dt.xcodebuild:GPUSelectionPolicy->avoidRemovable)
Do you have an idea to get rid of this problem?
I tried to change the GPUSelectionPolicy->avoidRemovable but it didn't change anything
Please try installing Rosetta as described here:
https://github.com/flutter/flutter/wiki/Developing-with-Flutter-on-Apple-Silicon

dart fix, giving different results based on the machine it is run on

I am seeing a behavior I struggle to understand right now, regarding dart fix.
On my machine, I have a script doing a bunch of dart code generation inside one of my package's folder. After the code is being generated, if I run the dart fix --dry-run command this is what I get:
Computing fixes in design_system (dry run)...
16 proposed fixes in 2 files.
lib/src/constants/file1.dart
prefer_const_constructors - 4 fixes
unused_import - 1 fix
lib/src/constants/file2.dart
prefer_const_constructors - 10 fixes
unused_import - 1 fix
and this is my environment:
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.1 21C52 darwin-arm, locale en-FR)
• Flutter version 3.0.1 at /Users/adrien.padol/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fb57da5f94 (3 months ago), 2022-05-19 15:50:29 -0700
• Engine revision caaafc5604
• Dart version 2.17.1
• DevTools version 2.12.2
Now, this same script, is run (on the same version of the sources) on a Github hosted agent, and this is what I get:
Computing fixes in design_system (dry run)...
4 proposed fixes in 4 files.
lib/src/widgets/data_display/file1.dart
type_init_formals - 1 fix
lib/src/widgets/data_entry/file2.dart
unnecessary_lambdas - 1 fix
lib/src/widgets/feedback/file3.dart
type_init_formals - 1 fix
lib/src/widgets/navigation_components/file4.dart
type_init_formals - 1 fix
Yet the environment seems to be the same (outside of the agent being a linux machine):
[✓] Flutter (Channel stable, 3.0.1, on Ubuntu 20.04.4 LTS 5.15.0-1014-azure, locale C.UTF-8)
• Flutter version 3.0.1 at /opt/hostedtoolcache/flutter/stable-3.0.1-x64
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fb57da5f94 (3 months ago), 2022-05-19 15:50:29 -0700
• Engine revision caaafc5604
• Dart version 2.17.1
• DevTools version 2.12.2
So, for the same script, and the same source code, I manage to get two completely different outputs of the dart fix command, and I don't really understand why this is happenning ...
Any idea ?
Thanks !

Anyone experience vscode very slow after update to 1.30?

What settings to disable to make it fast again?
I'm using VSCode for flutter development. Now very slow when starting the app and during hot reload. Now almost impossible to perform hot reload. I must stop it, do changes then start rather than waiting on hot reload process.
Before update, it was fast but sometimes crash.
I only use Dart 2.21.1 and Flutter 2.21.1 extension. And running on Windows 10.
=======================================================================
The issue seems gone away.
Now I'm using VS Code 1.31.1
flutter --version
Flutter 1.1.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 985ccb6d14 (8 weeks ago) • 2019-01-08 13:45:55 -0800
Engine • revision 7112b72cc2
Tools • Dart 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)
And Dart/Flutter extension is 2.24.0
In your folder, run
flutter clean
this will delete all flutter dependencies and then re-create the project again by using
flutter create YourProjectName
this will create all the flutter dependencies again in your current project, you will not loose your files
The issue seems gone away.
Now I'm using VS Code 1.31.1
flutter --version
Flutter 1.1.8 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 985ccb6d14 (8 weeks ago) • 2019-01-08 13:45:55 -0800
Engine • revision 7112b72cc2
Tools • Dart 2.1.1 (build 2.1.1-dev.0.1 ec86471ccc)
And Dart/Flutter extension is 2.24.0