When compiling the counter app I receive the following error every ~200 ms:
[ +206 ms] [VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port
flutter doctor and flutter run -v doesn't give any visible errors.
Interesting... switching to beta channel seem to have fixed it! yay 👍
flutter channel beta flutter upgrade flutter clean flutter run
Then launched Android studio, ran app from there... don't see the error anymore. (Interestingly enough... it also fixed the issue where doctor wasn't able to locate flutter plugins for Android studio!
% flutter doctor -v [✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-arm, locale en-US) • Flutter version 1.24.0-10.2.pre at /Users/agautam/tools/flutter • Framework revision 022b333a08 (3 weeks ago), 2020-11-18 11:35:09 -0800 • Engine revision 07c1eed46b • Dart version 2.12.0 (build 2.12.0-29.10.beta) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at /Users/agautam/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.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.2, Build version 12B45b • CocoaPods version 1.10.0 [✓] Android Studio (version 4.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495) [✓] VS Code (version 1.51.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.17.0 [✓] Connected device (1 available) • iPhone 12 Pro Max (mobile) • 791FFAFB-CD39-4FA5-9A1B-DE42A8406147 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator) • No issues found!