São dois problemas que estão acorrendo e, provavelmente, devem estar ligados.
Quando eu executo o comando 'slidy run mobx_watch' aparece um erro sugerindo eu executar o comando --delete-conflicting-outputs
:
[INFO] Found 6 declared outputs which already exist on disk. This is likely because the`.dart_tool/build` folder was deleted, or you are submitting generated files to your source repository.
[SEVERE] Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with `--delete-conflicting-outputs`. The outputs are: lib/app/repositories/ipes_repository.g.dart
lib/app/app_controller.g.dart
lib/app/auth_controller.g.dart
lib/app/modules/home/home_controller.g.dart
lib/app/modules/cadastro_ipe/cadastro_ipe_controller.g.dart
lib/app/modules/login/login_controller.g.dart
[INFO] Terminating. No further builds will be scheduled
[INFO] Builds finished. Safe to exit
Até aí tudo bem, imagino que deve ter dado algum conflito e tal... mas aí eu executo o 'slidy run mobx_build_clean', e além de demorar muito pra terminar de executar o script ele gera alguns avisos sobre incompatibilidade.
[WARNING] mobx_codegen:mobx_generator on lib/app/app_widget.dart:
Your current `analyzer` version may not fully support your current SDK version.
Please try upgrading to the latest `analyzer` by running `flutter packages upgrade`.
Analyzer language version: 2.10.0
SDK language version: 2.12.0
If you are getting this message and have the latest analyzer please file
an issue at https://github.com/dart-lang/sdk/issues/new with the title
"No published analyzer available for language version 2.12.0".
Please search the issue tracker first and thumbs up and/or subscribe to
existing issues if present to avoid duplicates.
Efim, eu já criei dois novos projetos de teste e acontece o mesmo problema. Acho que está tudo atualizado:
Flutter 1.24.0-8.0.pre.197 • channel master • https://github.com/flutter/flutter.git
Framework • revision 600c99213a (3 hours ago) • 2020-11-11 23:33:06 +0530
Engine • revision 81f219c59c
Tools • Dart 2.12.0 (build 2.12.0-31.0.dev)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.24.0-8.0.pre.197, on Mac OS X 10.15.7 19H2 darwin-x64, locale pt-BR)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] Xcode - develop for iOS and macOS (Xcode 12.1)
! CocoaPods 1.8.4 out of date (1.9.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.51.0)
[✓] Connected device (3 available)