firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.68k stars 3.97k forks source link

πŸ› [firebase_core] adding firebase_core to project cause unexpected behave on build/debug windows platform #12175

Closed Ali-Fadaei closed 8 months ago

Ali-Fadaei commented 9 months ago

Bug report

Describe the bug adding firebase_core to project cause unexpected behave on run/build windows platform. when run/build firebase_core included project in windows platform first time, it's download firebase_cpp_sdk_windows_11.6.0.zip file with 627MB Size, after that throws some LNK errors related to downloaded SDK libs. Question 1: if firebase doesn't support windows platform why should download this huge file? (Download fails frequently and its annoying) Question2: if it's necessary why those errors happen?

PS: also firebase_cpp_sdk_windows have Deprecation Warning:

 CMake warning
CMake Deprecation Warning at C:/Users/Alifa/Desktop/Mars_Car_Tracker_Flui/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

Steps to reproduce

Steps to reproduce the behavior: flutter pub add firebase_core: ^2.24.2 flutter pub add firebase_messaging: ^14.7.10 flutter run -d windows

Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [!] Flutter (Channel stable, 3.16.7, on Microsoft Windows [Version 10.0.22621.3007], locale en-US) ! Warning: `flutter` on your path resolves to C:\Flutter\flutter.bat, which is not inside your current Flutter SDK checkout at C:\Flutter\flutter. Consider adding C:\Flutter\flutter\bin to the front of your path. ! Warning: `dart` on your path resolves to C:\Flutter\dart.bat, which is not inside your current Flutter SDK checkout at C:\Flutter\flutter. Consider adding C:\Flutter\flutter\bin to the front of your path. [βœ“] Windows Version (Installed version of Windows is version 10 or higher) [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [βœ—] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [βœ“] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.4) [βœ“] Android Studio (version 2021.2) [βœ“] VS Code (version 1.85.2) [βœ“] Connected device (2 available) [βœ“] Network resources ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 3.2.4 Flutter SDK 3.16.7 mars_car_tracker 1.0.0+1 dependencies: - animate_do 3.1.2 [flutter] - animations 2.0.10 [flutter] - bitsdojo_window 0.1.6 [flutter bitsdojo_window_platform_interface bitsdojo_window_windows bitsdojo_window_macos bitsdojo_window_linux] - bloc 8.1.2 [meta] - carousel_slider 4.2.1 [flutter] - cupertino_icons 1.0.6 - device_info_plus 9.1.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry] - dio 5.4.0 [async http_parser meta path] - equatable 2.0.5 [collection meta] - firebase_analytics 10.8.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.4.9 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_messaging 14.7.10 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] - flutter_bloc 8.1.3 [bloc flutter provider] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web] - flutter_multi_formatter 2.12.3 [flutter collection base58check bech32] - flutter_staggered_animations 1.1.1 [flutter] - flutter_svg 2.0.9 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler] - geolocator 10.1.0 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows] - go_router 13.0.0 [collection flutter flutter_web_plugins logging meta] - hive 2.2.3 [meta crypto] - lottie 2.7.0 [archive flutter path vector_math] - overlay_support 2.1.0 [flutter async] - package_info_plus 5.0.1 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32] - path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - persian_number_utility 1.1.4 - pin_code_fields 8.0.1 [flutter] - pretty_dio_logger 1.3.1 [dio] - responsive_framework 1.1.1 [flutter collection] - shared_preferences 2.2.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - universal_io 2.2.2 [collection meta typed_data] - url_launcher 6.2.2 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] dev dependencies: - flutter_lints 2.0.3 [lints] - flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web] transitive dependencies: - _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta] - archive 3.4.9 [crypto path pointycastle] - args 2.4.2 - async 2.11.0 [collection meta] - base58check 2.0.0 [crypto collection] - bech32 0.2.2 [convert] - bitsdojo_window_linux 0.1.4 [flutter bitsdojo_window_platform_interface ffi] - bitsdojo_window_macos 0.1.4 [flutter bitsdojo_window_platform_interface ffi] - bitsdojo_window_platform_interface 0.1.2 [flutter meta plugin_platform_interface] - bitsdojo_window_windows 0.1.6 [flutter bitsdojo_window_platform_interface win32 ffi] - boolean_selector 2.1.1 [source_span string_scanner] - characters 1.3.0 - clock 1.1.1 - collection 1.18.0 - convert 3.1.1 [typed_data] - crypto 3.0.3 [typed_data] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - fake_async 1.3.1 [clock collection] - ffi 2.1.0 - file 7.0.0 [meta path] - firebase_analytics_platform_interface 3.9.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.5+12 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.5.18 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.5.18 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - geolocator_android 4.4.0 [flutter geolocator_platform_interface uuid] - geolocator_apple 2.3.3 [flutter geolocator_platform_interface] - geolocator_platform_interface 4.2.0 [flutter plugin_platform_interface vector_math meta] - geolocator_web 2.2.0 [flutter flutter_web_plugins geolocator_platform_interface] - geolocator_windows 0.2.2 [flutter geolocator_platform_interface] - http 1.1.2 [async http_parser meta web] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - intl 0.18.1 [clock meta path] - js 0.6.7 [meta] - lints 2.1.1 - logging 1.2.0 - matcher 0.12.16 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - meta 1.10.0 - nested 1.0.0 [flutter] - package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - path 1.8.3 - path_parsing 1.0.1 [vector_math meta] - path_provider_android 2.2.2 [flutter path_provider_platform_interface] - path_provider_foundation 2.3.1 [flutter path_provider_platform_interface] - path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface] - path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32] - petitparser 6.0.2 [meta] - platform 3.1.3 - plugin_platform_interface 2.1.7 [meta] - pointycastle 3.7.3 [collection convert js] - provider 6.1.1 [collection flutter nested] - shared_preferences_android 2.2.1 [flutter shared_preferences_platform_interface] - shared_preferences_foundation 2.3.4 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.3.2 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_platform_interface 2.3.1 [flutter plugin_platform_interface] - shared_preferences_web 2.2.2 [flutter flutter_web_plugins shared_preferences_platform_interface web] - shared_preferences_windows 2.3.2 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - sky_engine 0.0.99 - source_span 1.10.0 [collection path term_glyph] - sprintf 7.0.0 - stack_trace 1.11.1 [path] - stream_channel 2.1.2 [async] - string_scanner 1.2.0 [source_span] - term_glyph 1.2.1 - test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph] - typed_data 1.3.2 [collection] - url_launcher_android 6.2.0 [flutter url_launcher_platform_interface] - url_launcher_ios 6.2.1 [flutter url_launcher_platform_interface] - url_launcher_linux 3.1.1 [flutter url_launcher_platform_interface] - url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.2.0 [flutter plugin_platform_interface] - url_launcher_web 2.2.2 [flutter flutter_web_plugins url_launcher_platform_interface web] - url_launcher_windows 3.1.1 [flutter url_launcher_platform_interface] - uuid 4.2.2 [crypto sprintf meta] - vector_graphics 1.1.9+1 [flutter vector_graphics_codec] - vector_graphics_codec 1.1.9+1 - vector_graphics_compiler 1.1.9+1 [args meta path_parsing xml vector_graphics_codec path] - vector_math 2.1.4 - web 0.3.0 - win32 5.1.1 [ffi] - win32_registry 1.1.2 [ffi win32] - xdg_directories 1.0.3 [meta path] - xml 6.5.0 [collection meta petitparser] ```

danagbemava-nc commented 9 months ago

Hi @Ali-Fadaei, are you unable to run your app when you add firebase_core to your app? Although I see the errors, I am able to run the app just fine.

Ali-Fadaei commented 9 months ago

@danagbemava-nc Hi! Yes, I'm unable to run app just after trying and failing over 10 times. so, I had questions about it.

danagbemava-nc commented 9 months ago

Can you share the output of flutter run -v? The output may be huge so kindly put it into a .txt file and attach it here.

google-oss-bot commented 8 months ago

Hey @Ali-Fadaei. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

mbfakourii commented 8 months ago

@danagbemava-nc

I have the same problem To simulate in a normal project, just enter the following values in pubspec.yaml

dependencies:
  flutter:
    sdk: flutter

  firebase_core: ^2.25.0
  firebase_analytics: ^10.8.1
  firebase_crashlytics: ^3.4.10
  firebase_messaging: ^14.7.11

We get the following error

CMake Deprecation Warning at C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

and my flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.16.9, on Microsoft Windows [Version 10.0.22631.3007], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.4)
[√] Android Studio (version 2023.1)
[√] VS Code (version 1.86.0)
[√] Connected device (3 available)
[√] Network resources

β€’ No issues found!

and the output of the flutter run -v

Click To Expand ``` [ +117 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +39 ms] executing: C:\Users\mbfakourii\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l [ +68 ms] List of devices attached [ +4 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +68 ms] Skipping pub get: version match. [ +29 ms] Found plugin firebase_analytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics-10.8.5\ [ +7 ms] Found plugin firebase_analytics_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics_web-0.5.5+17\ [ +2 ms] Found plugin firebase_core at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.25.4\ [ +4 ms] Found plugin firebase_core_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core_web-2.11.4\ [ +2 ms] Found plugin firebase_crashlytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_crashlytics-3.4.14\ [ +4 ms] Found plugin firebase_messaging at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.7.15\ [ +3 ms] Found plugin firebase_messaging_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging_web-3.6.4\ [ +61 ms] Found plugin firebase_analytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics-10.8.5\ [ +3 ms] Found plugin firebase_analytics_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics_web-0.5.5+17\ [ +2 ms] Found plugin firebase_core at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.25.4\ [ +2 ms] Found plugin firebase_core_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core_web-2.11.4\ [ +1 ms] Found plugin firebase_crashlytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_crashlytics-3.4.14\ [ +2 ms] Found plugin firebase_messaging at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.7.15\ [ +2 ms] Found plugin firebase_messaging_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging_web-3.6.4\ [ +124 ms] Initializing file store [ +8 ms] Skipping target: gen_localizations [ +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\package_config_subset} [ +14 ms] Found plugin firebase_analytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics-10.8.5\ [ +1 ms] Found plugin firebase_analytics_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics_web-0.5.5+17\ [ +1 ms] Found plugin firebase_core at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.25.4\ [ +3 ms] Found plugin firebase_core_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core_web-2.11.4\ [ +1 ms] Found plugin firebase_crashlytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_crashlytics-3.4.14\ [ +2 ms] Found plugin firebase_messaging at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.7.15\ [ +2 ms] Found plugin firebase_messaging_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging_web-3.6.4\ [ +17 ms] gen_dart_plugin_registrant: Complete [ +1 ms] Skipping target: _composite [ +1 ms] complete [ +4 ms] Launching lib\main.dart on Windows in debug mode... [ +2 ms] C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/f40e976bedff57e69e1b3d89a7c2a3c617a03dad/ --output-dill C:\Users\MBFAKO~1\AppData\Local\Temp\flutter_tools.1d052d34\flutter_tool.a49bcf65\app.dill --packages C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\9ffe3fb9e2063e195ddfbcea0cabcfef.cache.dill.track.dill --verbosity=error --enable-experiment=alternative-invalidation-strategy [ +23 ms] executing: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ +35 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16 -requires Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.CMake.Project [ ] [ { "instanceId": "87d805c5", "installDate": "2024-01-10T11:01:06Z", "installationName": "VisualStudio/17.8.4+34408.163", "installationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community", "installationVersion": "17.8.34408.163", "productId": "Microsoft.VisualStudio.Product.Community", "productPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\devenv.exe", "state": 4294967295, "isComplete": true, "isLaunchable": true, "isPrerelease": false, "isRebootRequired": false, "displayName": "Visual Studio Community 2022", "description": "Powerful IDE, free for students, open-source contributors, and individuals", "channelId": "VisualStudio.17.Release", "channelUri": "https://aka.ms/vs/17/release/channel", "enginePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\resources\\app\\ServiceHub\\Services\\Microsoft.VisualStudio.Setup.Service", "installedChannelId": "VisualStudio.17.Release", "installedChannelUri": "https://aka.ms/vs/17/release/channel", "releaseNotes": "https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.8#17.8.4", "resolvedInstallationPath": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community", "thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288", "updateDate": "2024-01-10T11:01:06.5187916Z", "catalog": { "buildBranch": "d17.8", "buildVersion": "17.8.34408.163", "id": "VisualStudio/17.8.4+34408.163", "localBuild": "build-lab", "manifestName": "VisualStudio", "manifestType": "installer", "productDisplayVersion": "17.8.4", "productLine": "Dev17", "productLineVersion": "2022", "productMilestone": "RTW", "productMilestoneIsPreRelease": "False", "productName": "Visual Studio", "productPatchVersion": "4", "productPreReleaseMilestoneSuffix": "1.0", "productSemanticVersion": "17.8.4+34408.163", "requiredEngineVersion": "3.8.2122.37638" }, "properties": { "campaignId": "2030:521c5af116074e6d9ae088c93b8dfb83", "channelManifestId": "VisualStudio.17.Release/17.8.4+34408.163", "nickname": "", "setupEngineFilePath": "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\setup.exe" } } ] [ +5 ms] Building Windows application... [ +8 ms] <- compile package:issues_12175/main.dart [ +1 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -S C:\Users\mbfakourii\Project\based_widget\issues_12175\windows -B build\windows\x64 -G Visual Studio 17 2022 -A x64 -DFLUTTER_TARGET_PLATFORM=windows-x64 [ +41 ms] -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22631. [ +24 ms] CMake Deprecation Warning at C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required): [ +2 ms] Compatibility with CMake < 3.5 will be removed from a future version of [ ] CMake. [ ] Update the VERSION argument value or use a ... suffix to tell [ ] CMake that the project does not need compatibility with older versions. [ +18 ms] -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) [ +3 ms] -- Configuring done (0.1s) [ +76 ms] -- Generating done (0.1s) [ +4 ms] -- Build files have been written to: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64 [ +7 ms] executing: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe --build build\windows\x64 --config Debug --target INSTALL --verbose [ +48 ms] Change Dir: 'C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64' [ ] Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" INSTALL.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n [ +44 ms] MSBuild version 17.8.3+195e7f5a3 for .NET Framework [ +43 ms] Build started 2/7/2024 08:08:22. [ +195 ms] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\INSTALL.vcxproj" on node 1 (default targets). [ ] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ZERO_CHECK.vcxproj" (2) on node 1 (default targets). [ +1 ms] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +3 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ +22 ms] CustomBuild: [ ] All outputs are up-to-date. [ +69 ms] 1>Checking Build System [ +58 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ZERO_CHECK.vcxproj" (default targets). [ +66 ms] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\INSTALL.vcxproj" (1) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ALL_BUILD.vcxproj" (3) on node 1 (default targets). [ ] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\plugins\firebase_core\firebase_core_plugin.vcxproj" (4) on node 1 (default targets). [ ] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\plugins\firebase_core\firebase_core_plugin.vcxproj" (4) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_assemble.vcxproj" (5) on node 1 (default targets). [ ] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ ] InitializeBuildStatus: [ ] Creating "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild". [ +3 ms] CustomBuild: [ ] "The build of 'C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\CMakeFiles\c7aca16bba3f0484507289d0401e2681\flutter_assemble.rule' depends on 'C:\USERS\MBFAKOURII\PROJECT\BASED_WIDGET\ISSUES_12175\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL' which is produced by the build of 'C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\CMakeFiles\eee44e468c431cf6cb053f6b36651095\flutter_windows.dll.rule'. The items cannot be built in parallel." [ +51 ms] Generating C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_windows.dll, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_export.h, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_windows.h, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_messenger.h, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_plugin_registrar.h, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/flutter_texture_registrar.h, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc, C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc, _phony_ [ +538 ms] [ +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +71 ms] [ +80 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ +2 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ +42 ms] [ +45 ms] Initializing file store [ +22 ms] [ +22 ms] native_assets: Starting due to {} [ +5 ms] [ +5 ms] Skipping target: gen_localizations [ +9 ms] [ +9 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\package_config_subset} [ +4 ms] [ +4 ms] unpack_windows: Starting due to {} [ +222 ms] [ +221 ms] unpack_windows: Complete [+3050 ms] [+3050 ms] Found plugin firebase_analytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics-10.8.5\ [ +8 ms] [ +8 ms] Writing native_assets.yaml. [ +13 ms] [ +13 ms] Found plugin firebase_analytics_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_analytics_web-0.5.5+17\ [ +2 ms] [ +1 ms] Writing C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\native_assets.yaml done. [ +2 ms] [ +2 ms] Found plugin firebase_core at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core-2.25.4\ [ +1 ms] [ +1 ms] native_assets: Complete [ +6 ms] [ +6 ms] Found plugin firebase_core_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_core_web-2.11.4\ [ +2 ms] [ +2 ms] Found plugin firebase_crashlytics at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_crashlytics-3.4.14\ [ +5 ms] [ +6 ms] Found plugin firebase_messaging at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging-14.7.15\ [ +4 ms] [ +4 ms] Found plugin firebase_messaging_web at C:\Users\mbfakourii\AppData\Local\Pub\Cache\hosted\pub.dev\firebase_messaging_web-3.6.4\ [ +43 ms] [ +43 ms] gen_dart_plugin_registrant: Complete [ +1 ms] [ +1 ms] kernel_snapshot: Starting due to {} [ +2 ms] [ +2 ms] Embedding native assets mapping C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\native_assets.yaml in kernel. [ +7 ms] [ +7 ms] C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot --sdk-root C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/f40e976bedff57e69e1b3d89a7c2a3c617a03dad/ -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\package_config.json --output-dill C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\app.dill --depfile C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\kernel_snapshot.d --incremental --initialize-from-dill C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\app.dill --native-assets C:\Users\mbfakourii\Project\based_widget\issues_12175\.dart_tool\flutter_build\60bab88799cd1a2ca3015ebc1fd126b3\native_assets.yaml --verbosity=error package:issues_12175/main.dart [+9156 ms] [+9156 ms] kernel_snapshot: Complete [ +362 ms] [ +362 ms] debug_bundle_windows_assets: Starting due to {} [ +136 ms] [ +136 ms] shaderc command: [C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\artifacts\engine\windows-x64\impellerc.exe, --sksl, --iplr, --sl=C:\Users\mbfakourii\Project\based_widget\issues_12175\build\flutter_assets\shaders/ink_sparkle.frag, --spirv=C:\Users\mbfakourii\Project\based_widget\issues_12175\build\flutter_assets\shaders/ink_sparkle.frag.spirv, --input=C:\Users\mbfakourii\AppData\Local\flutter\packages\flutter\lib\src\material\shaders\ink_sparkle.frag, --input-type=frag, --include=C:\Users\mbfakourii\AppData\Local\flutter\packages\flutter\lib\src\material\shaders, --include=C:\Users\mbfakourii\AppData\Local\flutter\bin\cache\artifacts\engine\windows-x64\shader_lib] [ +422 ms] [ +423 ms] debug_bundle_windows_assets: Complete [ +391 ms] [ +391 ms] Persisting file store [ +10 ms] [ +10 ms] Done persisting file store [ +8 ms] [ +8 ms] build succeeded. [ +10 ms] [ +10 ms] "flutter assemble" took 14,063ms. [ +254 ms] [ +254 ms] ensureAnalyticsSent: 251ms [ ] [ ] Running 0 shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +95 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_assemble.vcxproj" (default targets). [ +19 ms] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\plugins\firebase_core\firebase_core_plugin.vcxproj" (4) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_wrapper_plugin.vcxproj" (6) on node 1 (default targets). [ ] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ ] InitializeBuildStatus: [ ] Creating "flutter_wrapper_plugin.dir\Debug\flutter_.1B826FD0.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "flutter_wrapper_plugin.dir\Debug\flutter_.1B826FD0.tlog\unsuccessfulbuild". [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +50 ms] ClCompile: [ ] All outputs are up-to-date. [ +22 ms] Lib: [ ] All outputs are up-to-date. [ +1 ms] flutter_wrapper_plugin.vcxproj -> C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\Debug\flutter_wrapper_plugin.lib [ +11 ms] FinalizeBuildStatus: [ ] Deleting file "flutter_wrapper_plugin.dir\Debug\flutter_.1B826FD0.tlog\unsuccessfulbuild". [ ] Touching "flutter_wrapper_plugin.dir\Debug\flutter_.1B826FD0.tlog\flutter_wrapper_plugin.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_wrapper_plugin.vcxproj" (default targets). [ +6 ms] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] InitializeBuildStatus: [ ] Creating "firebase_core_plugin.dir\Debug\firebase.0DD4C352.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "firebase_core_plugin.dir\Debug\firebase.0DD4C352.tlog\unsuccessfulbuild". [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +12 ms] ClCompile: [ ] All outputs are up-to-date. [ +3 ms] Lib: [ ] All outputs are up-to-date. [ ] firebase_core_plugin.vcxproj -> C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\plugins\firebase_core\Debug\firebase_core_plugin.lib [ +7 ms] FinalizeBuildStatus: [ ] Deleting file "firebase_core_plugin.dir\Debug\firebase.0DD4C352.tlog\unsuccessfulbuild". [ ] Touching "firebase_core_plugin.dir\Debug\firebase.0DD4C352.tlog\firebase_core_plugin.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\plugins\firebase_core\firebase_core_plugin.vcxproj" (default targets). [ +23 ms] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (7) on node 1 (default targets). [ ] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] InitializeBuildStatus: [ ] Creating "flutter_wrapper_app.dir\Debug\flutter_.FDC4913B.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "flutter_wrapper_app.dir\Debug\flutter_.FDC4913B.tlog\unsuccessfulbuild". [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +17 ms] ClCompile: [ +1 ms] All outputs are up-to-date. [ +5 ms] Lib: [ ] All outputs are up-to-date. [ ] flutter_wrapper_app.vcxproj -> C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\Debug\flutter_wrapper_app.lib [ +11 ms] FinalizeBuildStatus: [ ] Deleting file "flutter_wrapper_app.dir\Debug\flutter_.FDC4913B.tlog\unsuccessfulbuild". [ ] Touching "flutter_wrapper_app.dir\Debug\flutter_.FDC4913B.tlog\flutter_wrapper_app.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\flutter\flutter_wrapper_app.vcxproj" (default targets). [ +28 ms] Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ALL_BUILD.vcxproj" (3) is building "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\runner\issues_12175.vcxproj" (8) on node 1 (default targets). [ ] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] InitializeBuildStatus: [ ] Creating "issues_12175.dir\Debug\issues_12175.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "issues_12175.dir\Debug\issues_12175.tlog\unsuccessfulbuild". [ +1 ms] CustomBuild: [ ] All outputs are up-to-date. [ +25 ms] ClCompile: [ ] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\CL.exe /c /IC:\Users\mbfakourii\Project\based_widget\issues_12175\windows /IC:\Users\mbfakourii\Project\based_widget\issues_12175\windows\flutter\ephemeral /IC:\Users\mbfakourii\Project\based_widget\issues_12175\windows\flutter\ephemeral\cpp_client_wrapper\include /IC:\Users\mbfakourii\Project\based_widget\issues_12175\windows\flutter\ephemeral\.plugin_symlinks\firebase_core\windows\include /Zi /nologo /W4 /WX /diagnostics:column /Od /Ob0 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D _HAS_EXCEPTIONS=0 /D _DEBUG /D "FLUTTER_VERSION=\"1.0.0+1\"" /D FLUTTER_VERSION_MAJOR=1 /D FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D UNICODE /D _UNICODE /D FLUTTER_PLUGIN_IMPL /D "CMAKE_INTDIR=\"Debug\"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /std:c++17 /Fo"issues_12175.dir\Debug\\" /Fd"issues_12175.dir\Debug\vc143.pdb" /external:W0 /Gd /TP /wd4100 /errorReport:queue /external:I "C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/extracted/firebase_cpp_sdk_windows/include" C:\Users\mbfakourii\Project\based_widget\issues_12175\windows\flutter\generated_plugin_registrant.cc C:\Users\mbfakourii\Project\based_widget\issues_12175\windows\runner\flutter_window.cpp [ +40 ms] generated_plugin_registrant.cc [ +250 ms] flutter_window.cpp [ +947 ms] Generating Code... [ +90 ms] ResourceCompile: [ ] All outputs are up-to-date. [ +37 ms] Link: [ ] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\runner\Debug\issues_12175.exe" /INCREMENTAL /ILK:"issues_12175.dir\Debug\issues_12175.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib dwmapi.lib ..\plugins\firebase_core\Debug\firebase_core_plugin.lib ..\extracted\firebase_cpp_sdk_windows\libs\windows\VS2019\MD\x64\Debug\firebase_app.lib advapi32.lib ws2_32.lib crypt32.lib rpcrt4.lib ole32.lib icu.lib ..\flutter\Debug\flutter_wrapper_plugin.lib C:\Users\mbfakourii\Project\based_widget\issues_12175\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /manifestinput:C:\Users\mbfakourii\Project\based_widget\issues_12175\windows\runner\runner.exe.manifest /DEBUG /PDB:"C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/issues_12175.pdb" /SUBSYSTEM:WINDOWS /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/issues_12175.lib" /MACHINE:X64 /machine:x64 issues_12175.dir\Debug\Runner.res [ +1 ms] issues_12175.dir\Debug\flutter_window.obj [ ] issues_12175.dir\Debug\main.obj [ ] issues_12175.dir\Debug\utils.obj [ ] issues_12175.dir\Debug\win32_window.obj [ ] issues_12175.dir\Debug\generated_plugin_registrant.obj [ +394 ms] issues_12175.vcxproj -> C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\runner\Debug\issues_12175.exe [ +16 ms] FinalizeBuildStatus: [ ] Deleting file "issues_12175.dir\Debug\issues_12175.tlog\unsuccessfulbuild". [ ] Touching "issues_12175.dir\Debug\issues_12175.tlog\issues_12175.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\runner\issues_12175.vcxproj" (default targets). [ +5 ms] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild". [ +2 ms] CustomBuild: [ ] All outputs are up-to-date. [ +25 ms] Building Custom Rule C:/Users/mbfakourii/Project/based_widget/issues_12175/windows/CMakeLists.txt [ +31 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\ALL_BUILD.vcxproj" (default targets). [ +4 ms] PrepareForBuild: [ ] Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. [ +1 ms] InitializeBuildStatus: [ ] Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. [ ] Touching "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild". [ +27 ms] CustomBuild: [ ] 1> [ +10 ms] PostBuildEvent: [ ] setlocal [ ] "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake [ ] if %errorlevel% neq 0 goto :cmEnd [ ] :cmEnd [ ] endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [ ] :cmErrorLevel [ ] exit /b %1 [ ] :cmDone [ ] if %errorlevel% neq 0 goto :VCEnd [ ] :VCEnd [ +39 ms] -- Install configuration: "Debug" [ +1 ms] -- Up-to-date: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/icudtl.dat [ ] -- Up-to-date: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/flutter_windows.dll [ ] -- Up-to-date: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/firebase_core_plugin.lib [ ] -- Up-to-date: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug [ +6 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/AssetManifest.bin [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/AssetManifest.json [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/FontManifest.json [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/fonts [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular.otf [ +3 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/kernel_blob.bin [ +102 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/NOTICES.Z [ +1 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/packages [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons [ +1 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf [ +1 ms] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/shaders [ ] -- Installing: C:/Users/mbfakourii/Project/based_widget/issues_12175/build/windows/x64/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag [ +10 ms] FinalizeBuildStatus: [ ] Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild". [ ] Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate". [ ] Done Building Project "C:\Users\mbfakourii\Project\based_widget\issues_12175\build\windows\x64\INSTALL.vcxproj" (default targets). [ +3 ms] Build succeeded. [ ] 0 Warning(s) [ ] 0 Error(s) [ ] Time Elapsed 00:00:17.76 [ +34 ms] Building Windows application... (completed in 18.1s) [ +2 ms] √ Built build\windows\x64\runner\Debug\issues_12175.exe. [ +123 ms] VM Service URL on device: http://127.0.0.1:11000/5Y17z5MCqjE=/ [ +3 ms] Caching compiled dill [ +21 ms] Connecting to service protocol: http://127.0.0.1:11000/5Y17z5MCqjE=/ [ +96 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:11000/5Y17z5MCqjE=/. [ +57 ms] DDS is listening at http://127.0.0.1:11003/65Jy-nySw9c=/. [ +52 ms] Successfully connected to service protocol: http://127.0.0.1:11000/5Y17z5MCqjE=/ [ +18 ms] DevFS: Creating new filesystem on the device (null) [ +22 ms] DevFS: Created new filesystem on the device (file:///C:/Users/MBFAKO~1/AppData/Local/Temp/issues_12175c8322091/issues_12175/) [ +3 ms] Updating assets [ +172 ms] Syncing files to device Windows... [ +4 ms] Compiling dart to kernel with 0 updated files [ +3 ms] Processing bundle. [ +2 ms] <- recompile package:issues_12175/main.dart d0f442ad-6024-433e-a599-5ccf073a6dd3 [ +1 ms] <- d0f442ad-6024-433e-a599-5ccf073a6dd3 [ +2 ms] Bundle processing done. [ +895 ms] Updating files. [ ] DevFS: Sync finished [ ] Syncing files to device Windows... (completed in 909ms) [ ] Synced 0.0MB. [ +1 ms] <- accept [ +2 ms] Connected to _flutterView/0x21f300b4f20. [ +1 ms] DevFS: Deleting filesystem on the device (file:///C:/Users/MBFAKO~1/AppData/Local/Temp/issues_12175c8322091/issues_12175/) [ +253 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed [ +3 ms] "flutter run" took 22,502ms. [ +255 ms] ensureAnalyticsSent: 251ms [ ] Running 1 shutdown hook [ +7 ms] Shutdown hooks complete [ +1 ms] exiting with code 0 ```
danagbemava-nc commented 8 months ago

Hi @mbfakourii, what are the specs of the windows machine you're testing on? I think this may be a device specific issue. Although I see the cmake warnings on my windows laptop, I'm able to run the app without any issues

mbfakourii commented 8 months ago

@danagbemava-nc

Yes, the program runs, but I get a warning every time it runs !

My system Information :

System Information report written at: 02/07/24 15:01:58
System Name: MBFAKOURII-PC
[System Summary]

Item    Value   
OS Name Microsoft Windows 11 Pro    
Version 10.0.22631 Build 22631  
Other OS Description    Not Available   
OS Manufacturer Microsoft Corporation   
System Name MBFAKOURII-PC   
System Manufacturer ASUS    
System Model    System Product Name 
System Type x64-based PC    
System SKU  SKU 
Processor   Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz, 3600 Mhz, 4 Core(s), 8 Logical Processor(s)   
BIOS Version/Date   American Megatrends Inc. 2001, 2/1/2023 
SMBIOS Version  3.3 
Embedded Controller Version 255.255 
BIOS Mode   UEFI    
BaseBoard Manufacturer  ASUSTeK COMPUTER INC.   
BaseBoard Product   ROG STRIX B560-A GAMING WIFI    
BaseBoard Version   Rev 1.xx    
Platform Role   Desktop 
Secure Boot State   On  
PCR7 Configuration  Elevation Required to View  
Windows Directory   C:\Windows  
System Directory    C:\Windows\system32 
Boot Device \Device\HarddiskVolume3 
Locale  United States   
Hardware Abstraction Layer  Version = "10.0.22621.2506" 
User Name   MBFAKOURII-PC\mbfakourii    
Time Zone   Iran Standard Time  
Installed Physical Memory (RAM) 16.0 GB 
Total Physical Memory   14.8 GB 
Available Physical Memory   7.17 GB 
Total Virtual Memory    25.4 GB 
Available Virtual Memory    4.97 GB 
Page File Space 10.5 GB 
Page File   C:\pagefile.sys 
Kernel DMA Protection   Off 
Virtualization-based security   Not enabled 
Windows Defender Application Control policy Enforced    
Windows Defender Application Control user mode policy   Off 
Device Encryption Support   Elevation Required to View  
Hyper-V - VM Monitor Mode Extensions    Yes 
Hyper-V - Second Level Address Translation Extensions   Yes 
Hyper-V - Virtualization Enabled in Firmware    Yes 
Hyper-V - Data Execution Protection Yes 
google-oss-bot commented 8 months ago

Hey @Ali-Fadaei. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

mbfakourii commented 8 months ago

cc @danagbemava-nc

danagbemava-nc commented 8 months ago

Hi @mbfakourii, those logs are coming from the c++ sdk and is not something the plugin controls. If you are able to run the app without any issues then you should be fine. This issue is about not being able to run the app

google-oss-bot commented 8 months ago

Since there haven't been any recent updates here, I am going to close this issue.

@Ali-Fadaei if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

Soumayabenkaabar commented 7 months ago

C:\myappF\flutter_application_laghazala>flutter run Launching lib\main.dart on Windows in debug mode... CMake Deprecation Warning at C:/myappF/flutter_application_laghazala/build/windows/x64/extracted/firebase_cpp_sdk_windows/CMakeLists.txt:17 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

LINK : fatal error LNK1104: impossible d'ouvrir le fichier '..\extracted\firebase_cpp_sdk_windows\libs\windows\VS2019\MD\x64\Debug\firebase_app.lib' [C:\myappF\flutter_application_laghazala\build\windows\x64\runner\flutter_application_laghazala.vcxproj] Building Windows application... 25,3s Error: Build process failed.