ITADN

xcode build error "'messages.g.h' file not found"

#1516Closedkipenlink 创建于 2025-09-15
bug
K
kipenlinkcommented
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'.
关闭于 2026-04-06 3 条评论