-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello and thanks for the great project!
We are 72 hours into trying to understand what could cause the Isolate to freeze when our app is compiled and distributed with TestFlight. Everything works correctly in debug, profiling and distribution, but when we try flutter build ipa with our without the --obfuscate option, going into the Isolate does not return.
Initially I thought too many plugins where loaded inside the Isolate (MLKIt, TensorFlow and OpenCV), but even trying each of them individually, the result is the same.
Switching to a "non Isolated" execution of the same method works, but the UI is rightfully janky.
Flutter (Channel stable, 3.0.4, on macOS 11.6.5 20G527 darwin-x64, locale en-US)
• Flutter version 3.0.4 at /usr/local/Caskroom/flutter/2.2.3/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 85684f9300 (8 days ago), 2022-06-30 13:22:47 -0700
• Engine revision 6ba2af10bb
• Dart version 2.17.5
• DevTools version 2.12.2
Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
I don't think there is any issue with the code, but certainly something is missing/wrong in the build stage.
I am here to see if anyone else ran into the same issue!