Skip to content

[Compile]: Package_info_plus arm64 macos build failure #3724

@IrinaKatz

Description

@IrinaKatz

Operating System

macOS

Plugin

package_info_plus

Version

8.1.1

Flutter SDK

3.29.0

Compilation command

flutter build macos

Dart Dependencies

Native dependencies


Compilation Error

.pub-cache/hosted/pub.dev/package_info_plus-8.1.4/macos/package_info_plus/Sources/package_info_plus/include/package_info_plus/FPPPackageInfoPlusPlugin.h:5:9: error: 'FlutterMacOS/FlutterMacOS.h' file not found (in target 'package_info_plus' from project 'package_info_plus')

Flutter Doctor

[✓] Flutter (Channel stable, 3.29.0, on macOS 15.6 24G84 darwin-arm64, locale
    en-US) [2.3s]
    • Flutter version 3.29.0 on channel stable at
      /Users/myfolder/flutter_3.29.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35c388afb5 (10 months ago), 2025-02-10 12:48:41 -0800
    • Engine revision f73bfc4522
    • Dart version 3.7.0
    • DevTools version 2.42.2

[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
    [3.6s]
    • Android SDK at /Users/irinakatz/Library/Android/sdk
    • Platform android-36, build-tools 36.1.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on
      this machine.
      To manually set the JDK path, use: `flutter config
      --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.8+-14018985-b1038.68)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 26.0.1) [798ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17A400
    ! CocoaPods 1.15.2 out of date (1.16.2 is recommended).
        CocoaPods is a package manager for iOS or macOS platform code.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/to/platform-plugins
      To update CocoaPods, see
      https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods

[✓] Chrome - develop for the web [34ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2025.1) [33ms]
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.8+-14018985-b1038.68)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.2) [33ms]
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.105.1) [7ms]
    • VS Code at /Applications/Visual Studio Code 2.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (4 available) [5.8s]
    • Irina’s iPhone (wireless) (mobile) • 00008110-000E495401EBA01E • ios
      • iOS 18.5 22F76
    • macOS (desktop)                    • macos                     •
      darwin-arm64   • macOS 15.6 24G84 darwin-arm64
    • Mac Designed for iPad (desktop)    • mac-designed-for-ipad     • darwin
      • macOS 15.6 24G84 darwin-arm64
    • Chrome (web)                       • chrome                    •
      web-javascript • Google Chrome 141.0.7390.123

[✓] Network resources [507ms]
    • All expected network resources are available.

Checklist before submitting a bug

  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I'm using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions