Skip to content

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

@kipenlink

Description

@kipenlink

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions