I’m encountering an issue while trying to build my Flutter app for iOS release. The build fails with the following error:
Error (Xcode): Target release_unpack_ios failed: Exception: Binary /Users/XXX/XXX/XXX/build/ios/Release-iphoneos/Flutter.framework/Flutter does not contain . Running lipo -info:
``
Note: I'm using a translation tool to write this. Any suggestions on how to resolve this? Thank you for your assistance!
I want to resolve this issue and successfully build the app for store submission.
Steps I've taken so far:
- Switched Flutter channels (stable ↔ master)
- Updated Xcode to the latest version
- Upgraded Flutter to the latest version
- Cleaned the project and rebuilt
- Manually copied Flutter.framework to ios/Flutter
- Despite these efforts, the error persists. Any suggestions on how to resolve this?
Reference:
- https://github.com/flutter/flutter/issues/100438
- https://github.com/flutter/flutter/issues/144281
flutter doctor -v Output:
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4.1 23E224 darwin-arm64, locale
ja-JP)
• Flutter version 3.22.1 on channel stable at /Users/alu/develop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (6 hours ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3
[✓] Android toolchain – develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/alu/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.
[✓] Xcode – develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome – develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.3)
• 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
17.0.10+0-17.0.10b1087.21-11572160)
[✓] VS Code (version 1.89.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.88.0
[✓] Connected device (4 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 •
Android 14 (API 34) (emulator)
• macOS (desktop) • macos • darwin-arm64 •
macOS 14.4.1 23E224 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin •
macOS 14.4.1 23E224 darwin-arm64
• Chrome (web) • chrome • web-javascript •
Google Chrome 124.0.6367.210
[✓] Network resources
• All expected network resources are available.
kaz_sz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.