flutter / put-flutter-to-work

A Flutter add-to-app demo you can try with your own apps
BSD 3-Clause "New" or "Revised" License
321 stars 38 forks source link

build: cannot launch module on iOS #78

Closed felangel closed 2 years ago

felangel commented 2 years ago

Following the instructions in the README and running the app on iOS results in the following error when starting the Flutter Engine

2022-04-18 15:30:29.359139-0500 newsfeed_app[10857:1383976] Failed to find assets path for "Frameworks/App.framework/flutter_assets"
2022-04-18 15:30:29.359564-0500 newsfeed_app[10857:1383976] Metal API Validation Enabled
2022-04-18 15:30:29.408371-0500 newsfeed_app[10857:1384246] [VERBOSE-2:engine.cc(197)] Engine run configuration was invalid.
2022-04-18 15:30:29.408579-0500 newsfeed_app[10857:1384246] [VERBOSE-2:shell.cc(580)] Could not launch engine with configuration.
2022-04-18 15:30:29.497715-0500 newsfeed_app[10857:1384272] flutter: Observatory listening on http://127.0.0.1:49572/-IguXrqyB5Y=/
Jan-Stepien commented 2 years ago

Cloned repo fresh, can't reproduce, Did you follow instruction from 'readme_without_firebase' since it contains latest instructions

felangel commented 2 years ago

Yes I followed the instructions in the most recent README. I see those errors after scrolling the news content when the FlutterViewController should be presented and then the app becomes unresponsive. I'm happy to jump on a call and walk through the steps if that helps as I'm able to reliably reproduce the issue locally.

Jan-Stepien commented 2 years ago

@felangel Lets have a call, whenever you have 15mins just ping me

Jan-Stepien commented 2 years ago

Asked Artur and Maciej to test: tested on Intel chip - OK tested on M1 chip - OK