Unable to publish app to Apple app store –

Hi there,
There seems to be an issue with the newest master 1.27.0-9.0.pre.128 when trying to publish the app to the Apple app store. It fails to verify the app with following error:
Error: code 1091 (App Store operation failed. Invalid Swift Support. The file Runner.app/Frameworks/.last_build_id doesn’t have the correct file type for this location. Ensure you’re using the correct file, rebuild your app using the current public (GM) version of Xcode, and resubmit it.)

It works no problem on 1.27.0-8.0.pre.128. I’ve tested it on my local machine as well as using CodeMagic.

flutter doctor -v:

[✓] Flutter (Channel master, 1.27.0-9.0.pre.128, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.27.0-9.0.pre.128 at /Users/amarok/SDK/flutter
    • Framework revision 199d5dc086 (2 hours ago), 2021-02-28 14:36:02 -0800
    • Engine revision 34236c9837
    • Dart version 2.13.0 (build 2.13.0-81.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/amarok/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.19.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile)             • emulator-5554                        • android-x86    • Android 10 (API 29) (emulator)
    • iPad Pro (12.9-inch) (4th generation) (mobile) • A4DE7FF2-003B-4E5E-AAF5-7D5104E78FDC • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)                                   • chrome                               • web-javascript • Google Chrome 88.0.4324.192

• No issues found!

1 possible answer(s) on “Unable to publish app to Apple app store –