Skip to content

macOS: release_unpack_macos fails with Xcode 27 beta because lipo -verify_arch rejects multiple architectures #189576

Closed as duplicate

Description

@preethi0228-git

Steps to reproduce

  1. Install Xcode 27 beta.
  2. Use Flutter 3.44.6 on the stable channel.
  3. Build any macOS Flutter application:
    flutter build macos
    or
  4. From Android Studio -> Build -> Flutter -> Build macOS

Expected results

The build succeeds and FlutterMacOS.framework is unpacked correctly.

Actual results

The build fails during release_unpack_macos with:

Target release_unpack_macos failed: Exception:

Binary
.../FlutterMacOS.framework/Versions/A/FlutterMacOS
does not contain architectures "arm64 x86_64".

lipo -info:
Architectures in the fat file:
.../FlutterMacOS are: x86_64 arm64

Failed to copy Flutter framework.

Note : There is an existing bug on this which is closed, but the issue is still repro raising the new bug

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
Target release_unpack_macos failed: Exception: Binary /Users/preethikandukuri/androidstudioprojects/quali3rc1/build/macos/Build/Products/Release/FlutterMacOS.framework/Versions/A/FlutterMacOS does not contain architectures "arm64 x86_64".

lipo -info:
Architectures in the fat file: /Users/preethikandukuri/androidstudioprojects/quali3rc1/build/macos/Build/Products/Release/FlutterMacOS.framework/Versions/A/FlutterMacOS are: x86_64 arm64
Failed to copy Flutter framework.
** BUILD FAILED **

Build process failed

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.44.6, on macOS 26.5.2 25F84 darwin-arm64, locale en-US) [278ms]
    • Flutter version 3.44.6 on channel stable at /Users/preethikandukuri/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee80f08bbf (8 days ago), 2026-07-08 15:02:06 -0700
    • Engine revision 83675ed276
    • Dart version 3.12.2
    • DevTools version 2.57.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
      enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [5.2s]
    • Android SDK at /Users/preethikandukuri/Library/Android/sdk
    • Emulator version 36.6.11.0 (build_id 15507667) (CL:N/A)
    • Platform android-37.0, build-tools 37.0.0
    • ANDROID_HOME = /Users/preethikandukuri/Library/Android/sdk
    • Java binary at: /Applications/Android Studio RC.app/Contents/jbr/Contents/Home/bin/java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 25.0.2+-15348964-b329.117)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 27.0) [677ms]
    • Xcode at /Applications/Xcode-beta273.app/Contents/Developer
    • Build 27A5218g
    • CocoaPods version 1.16.2

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

[✓] Connected device (4 available) [6.1s]
    • sdk gphone16k arm64 (mobile) • emulator-5554             • android-arm64  • Android 17 (API 37) (emulator)
    • iPad (wireless) (mobile)     • 00008122-001A08DC22B9801C • ios            • iOS 27.0 24A5380l
    • macOS (desktop)              • macos                     • darwin-arm64   • macOS 26.5.2 25F84 darwin-arm64
    • Chrome (web)                 • chrome                    • web-javascript • Google Chrome 150.0.7871.125

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

Activity

  1. added
    in triagePresently being triaged by the triage team
    team-macosOwned by the macOS platform team
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    fyi-engineFor the attention of Engine team
    fyi-toolFor the attention of Flutter Tool team
    and removed
    in triagePresently being triaged by the triage team
    on Jul 17, 2026
  2. puneetkukreja98 commented on Jul 17, 2026

    @puneetkukreja98
    Contributor

    @preethi0228-git , this #188346 was merged into master just 3 weeks ago. I don't think it will be in the latest stable channel yet. Could you please test it on the latest master?

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    and removed
    fyi-engineFor the attention of Engine team
    fyi-toolFor the attention of Flutter Tool team
    team-macosOwned by the macOS platform team
    in triagePresently being triaged by the triage team
    on Jul 17, 2026
  4. preethi0228-git commented on Jul 20, 2026

    @preethi0228-git
    Author

    Hi @puneetkukreja98 ,

    Verified the issue in latest Master channel (3.47.0-0.1.pre) and the issue is still reproducible. Unable to build macos application using flutter build macos. Please find the attached flutter doctor output and log file.

    [✓] Flutter (Channel master, 3.47.0-0.1.pre, on macOS 26.5.2 25F84 darwin-arm64, locale en-US) [1,027ms]
    • Flutter version 3.47.0-0.1.pre on channel master at /Users/preethikandukuri/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3598686 (9 weeks ago), 2026-05-17 04:07:40 -0400
    • Engine revision 3598686
    • Dart version 3.13.0 (build 3.13.0-104.0.dev)
    • DevTools version 2.58.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
    enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration, enable-riscv64

    [✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [893ms]
    • Android SDK at /Users/preethikandukuri/Library/Android/sdk
    • Emulator version 36.6.11.0 (build_id 15507667) (CL:N/A)
    • Platform android-37.0, build-tools 37.0.0
    • ANDROID_HOME = /Users/preethikandukuri/Library/Android/sdk
    • Java binary at: /Applications/Android Studio RC.app/Contents/jbr/Contents/Home/bin/java
    This JDK is specified in your Flutter configuration.
    To change the current JDK, run: flutter config --jdk-dir="path/to/jdk".
    • Java version OpenJDK Runtime Environment (build 25.0.2+-15348964-b329.117)
    • All Android licenses accepted.

    [✓] Xcode - develop for iOS and macOS (Xcode 27.0) [501ms]
    • Xcode at /Applications/Xcode-beta273.app/Contents/Developer
    • Build 27A5218g
    • CocoaPods version 1.16.2

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

    [✓] Connected device (3 available) [5.9s]
    • iPad (wireless) (mobile) • 00008122-001A08DC22B9801C • ios • iOS 27.0 24A5380l
    • macOS (desktop) • macos • darwin-arm64 • macOS 26.5.2 25F84 darwin-arm64
    • Chrome (web) • chrome • web-javascript • Google Chrome 150.0.7871.125

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

    • No issues found!

    flutter_build.log

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Jul 20, 2026
  6. puneetkukreja98 commented on Jul 21, 2026

    @puneetkukreja98
    Contributor

    @preethi0228-git I have re-opened the original #188346 (comment), closing this as duplicate for now. You can track there.

  7. added
    r: duplicateIssue is closed as a duplicate of an existing issue
    and removed
    in triagePresently being triaged by the triage team
    on Jul 21, 2026
  8. preethi0228-git commented on Jul 22, 2026

    @preethi0228-git
    Author

    Verified the issue in the latest Master channel ( 3.47.0-1.0.pre-169 ) and the issue is no more reproducible. Able to build macos application using
    flutter build macos
    or
    From Android Studio -> Build -> Flutter -> Build macOS

    Flutter Doctor output

    preethikandukuri@Preethis-MacBook-Pro quali3rc1 % flutter doctor -v
    [✓] Flutter (Channel master, 3.47.0-1.0.pre-169, on macOS 26.5.2 25F84 darwin-arm64, locale en-US) [1,285ms]
    • Flutter version 3.47.0-1.0.pre-169 on channel master at /Users/preethikandukuri/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 468c2c9 (2 hours ago), 2026-07-22 07:51:27 +0000
    • Engine revision 468c2c9
    • Dart version 3.14.0 (build 3.14.0-46.0.dev)
    • DevTools version 2.60.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
    enable-record-use, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration, enable-riscv64

    [✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [962ms]
    • Android SDK at /Users/preethikandukuri/Library/Android/sdk
    • Emulator version 37.1.9.0 (build_id 15834520) (CL:N/A)
    • Platform android-37.0, build-tools 37.0.0
    • ANDROID_HOME = /Users/preethikandukuri/Library/Android/sdk
    • Java binary at: /Applications/Android Studio RC.app/Contents/jbr/Contents/Home/bin/java
    This JDK is specified in your Flutter configuration.
    To change the current JDK, run: flutter config --jdk-dir="path/to/jdk".
    • Java version OpenJDK Runtime Environment (build 25.0.2+-15348964-b329.117)
    • All Android licenses accepted.

    [✓] Xcode - develop for iOS and macOS (Xcode 27.0) [653ms]
    • Xcode at /Applications/Xcode-beta274.app/Contents/Developer
    • Build 27A5228h
    • CocoaPods version 1.16.2

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

    [✓] Connected device (3 available) [5.9s]
    • iPad (wireless) (mobile) • 00008122-001A08DC22B9801C • ios • iOS 27.0 24A5390f
    • macOS (desktop) • macos • darwin-arm64 • macOS 26.5.2 25F84 darwin-arm64
    • Chrome (web) • chrome • web-javascript • Google Chrome 150.0.7871.182

    [✓] Network resources [1,157ms]
    • All expected network resources are available.

    Image
  9. github-actions commented on Aug 5, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  10. locked as resolved and limited conversation to collaborators on Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    from: manual-qaIssue caught from manual QA processhas reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions