xcode build error "'messages.g.h' file not found"
flutter 3.22.0 .yaml:flutter_widget_from_html: ^0.16.0 or 0.15.3 xcode 16.2 vscode Version: 1.103.2 (Universal)
👇 WakelockPlusPlugin.m #import "WakelockPlusPlugin.h" #import "messages.g.h" /// not found #import "UIApplication+idleTimerLock.h"
修改为:#import "./include/wakelock_plus/messages.g.h" 可解决报错问题 新增error: ../../../.pub-cache/hosted/pub.flutter-io.cn/chewie-1.8.7/lib/src/material/material_controls.dart:473:35: Error: The method 'withValues' isn't defined for the class 'Color'.
You need to specify a version of chewie that works with your Flutter version. Or if you don't need to render VIDEO tags, switch to use flutter_widget_from_html_core.
已收到,谢谢。