Comments (16)
I think we lack actionable context on this issue. its possible there is some kind of cache invalidation issue or similar.
from flutter.
Thanks for the report @geokala
The method 'scheduleWarmUpFrame' isn't defined for the class 'PlatformDispatcher'.
It seems the method is part of the class and is present per https://github.com/flutter/engine/blob/9bc449ee2e8bfbd97ab1d56c98837e39cda0289a/lib/ui/platform_dispatcher.dart#L833
Build target is iOS 11,
Per documentation, supported ios versions starts from 12 : https://docs.flutter.dev/reference/supported-platforms
Can you try to change it to 12 and run your scenario again to check if you still get same error or not ?
from flutter.
I've forced the minimum version to be 12 and am not seeing the warning about iOS version any more.
However, the scheduleWarmUpFrame error is still occurring. Do you have any recommendations for troubleshooting further?
From looking at the logs, I also see that analytics were sent- I'm not sure if that's something you have access to (or what is actually sent and thus whether it can be helpful).
from flutter.
Thanks for the update. The method scheduleWarmUpFrame
was added as part of flutter/engine#50570 which also made it to 3.22.0, so I am not sure why it could be resulting in the error.
I'll keep the issue open for team's input / attention.
/cc @dkwingsmt
from flutter.
Sounds good. I've temporarily pinned our iOS build to 3.19.6 but if there's any more investigation I can do, let me know and I'll fit it in as soon as I can.
from flutter.
This should has nothing to do with scheduleWarmUpFrame
, but is caused by an outdated dart:ui
library. Can you show me the command you used to switch to 3.22? Anyway, can you try flutter upgrade
?
from flutter.
The commands used to ensure the flutter dir was up to date were:
rm -rf /tmp/flutter-ios
git clone https://github.com/flutter/flutter.git -b stable /tmp/flutter-ios
/tmp/flutter-ios/bin/flutter channel stable
I'll try them with a flutter upgrade tacked onto the end in case that helps and let you know.
Edit: Sorry, missed a command as it's commented while the force-to-3.19.6 is in:
/tmp/flutter-ios/bin/flutter upgrade --force
So it looks like we were running upgrade.
from flutter.
after upgrading to 3.22.0 I've deleted build
folder and that fixed it for me
from flutter.
I believe that the system this is happening on has a clean build directory every time but I will double check that.
Also, I believe the system in question might be running on x86_64 rather than the newer m1 (arm? I don't recall). Might that have an impact?
I can't access the system right at this moment but as noted, I'll check the build dir tomorrow and look to confirm whether it's x86_64.
from flutter.
If this is consistently broken it might be an issue with the downloaded SDK or a tooling bug.
from flutter.
Just stumbled upon the same issue... following on the thread below it appears my VS Code is running dart instead of flutter.
https://stackoverflow.com/questions/52483773/dartui1-error-not-found-dartui-flutter-dart
Running flutter run main.dart
instead of using debugger from VSCode seems to have done the trick. Should be something that's "confusing" the IDE to run the app using the dart command.
from flutter.
OK, I've had another look, adding the following commands before the build command:
rm -rf build
flutter clean
flutter pub cache clean
flutter pub get
flutter -v build ipa --no-codesign --release --flavor Release
That results in xcode faffing around for a while and then a different error: ../../../.pub-cache/hosted/pub.dev/win32-5.5.1/lib/win32.dart:1:1: Error: The specified language version is too high. The highest supported language version is 3.3.
Given that pub.dev tells me that 5.5.1 targets 3.4, and all the other systems we have using this are working fine, something seems screwy here.
vscode isn't involved in this instance, as it's running as part of a build pipeline.
I can confirm that it's running on x86_64 architecture, though I don't know if that's had any impact on this.
Either way, there doesn't seem to be much we can productively do with this at the moment so I'm leaving it pinned to 3.19.6 and will come back to it next time flutter updates and see if the next updates make it happier. Given that there don't seem to be a lot of other sightings of this problem, I'm happy for this ticket to be closed if nobody has any epiphanies.
from flutter.
I am on arm.. oddly after that "trick" started working again from VSCode so there must be some cache of some sorts. I had no need to pin an iOS build.
from flutter.
Oh, I should also note (regarding jonahwilliams' comment that the system this was on downloads flutter to a temp location on each build, so it /could/ be a download/SDK issue, but I'd expect that to result in more variety in the errors, where we've had fairly stable error states on these.
from flutter.
Just for reference I stumbled upon this again after leaving debugging connected over night (and closing laptop) and having spent some time doing code generation. No clue the actual cause of this coming back but a flutter clean
etc. sorted it.
Just dropping it here for reference ... don't have much more to pin point the issue.
from flutter.
Also encountered this problem, flutter run main.dart helped with the solution scheduleWarmUpFrame, but MediaQuery.boldTextOverride remained
from flutter.
Related Issues (20)
- When Building from XCode Cloud , it throws "Module 'webview_flutter_wkwebview' not found" HOT 1
- When building from XCode Cloud, webview_flutter throws a "Module 'webview_flutter_wkwebview' not found" HOT 9
- [Feature Request] Add `waitDuration` to `InkWell` HOT 3
- FlutterMacOS.framework has wrong permissions HOT 3
- iOS PlatformView using UIGraphicsImageRenderer and TextureLayer HOT 10
- Black screen between SplashScreen and first viewController when using flutter app like module in native iOS app HOT 4
- [flutter_markdown] Null check operator used on a null value in MarkdownBuilder._buildRichText.<fn>(builder.dart:957) HOT 7
- RenderSliverPadding hitTestChildren never returns true HOT 1
- [web][breaking] Change `--web-renderer` default from `auto` to `canvaskit` HOT 5
- mac-24 & mac-2 lost external connection phone device. HOT 2
- Update flutter/packages macOS stable tests to Mac-13 or Mac-14 HOT 8
- Flutter iOS module is not building when using firebase_app_check package HOT 8
- [tool_crash] FileSystemException: Deletion failed, OS Error: No such file or directory, errno = 2 HOT 2
- ☂️ Support Android 35
- Fix setting `onFocus` callback for `SemanticsAction.focus` on iOS. HOT 3
- Enable `hasFocusAction` and `SematicsAction.focus` in matchers.
- [web] Find an ergonomic solution for CORS images for CanvasKit and Skwasm HOT 2
- Re-enable sandboxing for flutter/packages macOS tests
- mac-25 lost external connection phone device. HOT 2
- Basic example in RFW does not render. HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.