-
-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: fatal error 'FlutterMacOS/FlutterMacOS.h' file not found - macOS / iOS #3341
Comments
I am having something close to this, the app builds and runs but when trying to deploy to App Store it shows the below error on the Validate stage.
|
The error may give some hints:
It's weird that it cannot find that dependency. I think your pods file/folder may be in a bad state, reruning You can try sharing your podfile as well it may have something wrong in it. Our CI builds correctly: https://github.com/fluttercommunity/plus_plugins/actions/runs/11562661071/job/32184333275?pr=3337 |
Thanks @miquelbeltran - I have tried these steps to nuke the Podfile to no avail (for the macos desktop build)
I will next try rebooting my laptop 🧐 and maybe setup a CI build based on that workflow you shared, to see if it has better luck. |
Here's what I tried next:
So, something is going wrong in my local environment.
|
Platform
macOS Sonoma 14.7.1 building for iOS simulator or macOS desktop
XCode
16.1
Plugin
package_info_plus
Version
8.1.0
Flutter SDK
3.5.3
Steps to reproduce
I added the
package_info_plus
plugin to get the build number. I can build OK for Android or Windows desktop. However, attempting to build for iOS or macOS results in these errors.Logs
Flutter Doctor
The text was updated successfully, but these errors were encountered: