-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Closed
Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Integration test sometimes fails with
34:35 +84 ~1 -2: test/integration.shard/isolated/native_assets_test.dart: flutter run hot reload and hot restart with native assets macos debug [E]
Expected: not contains 'Invalid argument(s): Couldn\'t resolve native function \'sum\''
Actual: 'warning: Run script build phase \'Run Script\' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target \'Flutter Assemble\' from project \'Runner\')\n'
'Performing hot reload... \n'
'The Flutter DevTools debugger and profiler on macOS is available at: http://127.0.0.1:9106?uri=http://127.0.0.1:53308/xYohxuqAUcQ=/\n'
'Reloaded 0 libraries in 520ms (compile: 8 ms, reload: 0 ms, reassemble: 492 ms).\n'
'\n'
'Performing hot restart... \n'
'Restarted application in 5,343ms.\n'
'\n'
'Performing hot reload... \n'
'\n'
'══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════\n'
'The following ArgumentError was thrown building _FocusInheritedScope:\n'
'Invalid argument(s): Couldn\'t resolve native function \'sum\' in\n'
'\'package:package_with_native_assets/package_with_native_assets_bindings_generated.dart\' : Failed to\n'
'load dynamic library \'package_with_native_assets1.framework/package_with_native_assets1\': Failed to\n'
'load dynamic library \'package_with_native_assets1.framework/package_with_native_assets1\':\n'
'dlopen(package_with_native_assets1.framework/package_with_native_assets1, 0x0001): tried:\n'
'\'package_with_native_assets1.framework/package_with_native_assets1\' (no such file),\n'
'\'/System/Volumes/Preboot/Cryptexes/OSpackage_with_native_assets1.framework/package_with_native_assets1\'\n'
'(no such file),\n'
I'm unable to reproduce this locally.
Metadata
Metadata
Assignees
Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: assetsPackaging, accessing, or using assetsPackaging, accessing, or using assetsplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallyt: hot reloadReloading code during "flutter run"Reloading code during "flutter run"team-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.