-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
Steps to reproduce
- Clone https://github.com/banool/auslan_dictionary
- Check out this PR: Recreate iOS and Android folders banool/auslan_dictionary#209
flutter run
Actual results
I can't build or run the ios build. The Android version of the app builds fine (as you can see from the CI in the PR above).
I have tried everything I've read online, various hacks with Podfile to set the target IOS deployment target (of the app and its dependencies, and I've tried many different versions like 12, 13, 16, etc), exclude simulation targets, etc. I have tried reinstalling flutter from scratch, I've tried the latest stable and main versions of flutter. I confirmed that the build settings in Xcode look correct (correct order, "for install builds only" unticked). I have reinstalled various versions of ruby, cocoapods, XCode, etc. I've cleaned every cache I can find in every permutation. I have tried deleting the ios folder and regenerating it. Deleting various generated files in the ios/Flutter directory. Pretty much anything that pops up from searching for this error on Google, you name it (definitely everything here and in a few other posts: https://stackoverflow.com/q/64973346/3846032). Even things that I wouldn't expect to work, like building using the Flutter extension from Android studio.
I have updated every dependency to the latest, including across major version boundaries, and transitively via that dictionarylib dep.
The error message tends to change, but I think it's related to any dependency that requires a platform integration (so some pod gets installed), e.g. sqflite, http_proxy, the splash page package, device_info_plus, package_info_plus, etc.
Worth noting that this app used to build fine, but is now failing on the latest version of Flutter / XCode / etc. I can't quite tell which thing broke it.
Logs
The verbose output is too long for an issue, you can find it in this gist: https://gist.github.com/banool/32c02eaf030a56d8477be5697acb0260.
Flutter Doctor output
Doctor output
$ flutter doctor -v
[✓] Flutter (Channel stable, 3.24.4, on macOS 15.0.1 24A348 darwin-arm64, locale en-US)
• Flutter version 3.24.4 on channel stable at /Users/dport/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 603104015d (3 days ago), 2024-10-24 08:01:25 -0700
• Engine revision db49896cf2
• Dart version 3.5.4
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/dport/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 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16A242d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• 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.3+-79915917-b509.11)
[✓] VS Code (version 1.94.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.98.0
⣷^⣟[✓] Connected device (5 available)
• Daniel iPhone (mobile) • 00008110-001270480A0B801E • ios • iOS 18.0.1 22A3370
• iPhone 15 Pro Max (mobile) • 85EDB580-EEF0-4F6E-B721-2A6BA72B46E7 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-4
(simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.0.1 24A348 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.0.1 24A348 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 130.0.6723.70
[✓] Network resources
• All expected network resources are available.
• No issues found!