[Bug]: App crashes on iOS devices having iOS version lower than 26.x
还没有人认领这个 Issue。
评估
调研方向
首先检查 iOS 插件配置以及 geocoding_ios.framework 的链接,并使用报告中的 Xcode 26.0.1 构建和 dyld 失败作为复现用例。在受影响的旧版 iOS 设备上验证该插件;完成的标准是该 framework 仅使用公共 SDK,并且应用能够启动而不会出现缺少 _LocationEssentials.framework 的错误。
由索引模型根据 Issue 内容生成。
描述
Please check the following before submitting a new issue.
- I have searched the existing issues.
- I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- Android
- iOS
Steps to reproduce
- Install
geocodingin a Flutter app - Build the iOS app with recent Xcode (Xcode 26.0.1)
- Run the app on an affected real iOS device
- App crashes immediately before showing any UI
- Xcode logs show dyld failure referencing _LocationEssentials.framework
Expected results
- The app should launch normally on all supported iOS devices
- The
geocoding_ios.frameworkshould not link to private Apple frameworks - The plugin should be compiled against public SDKs and not cause dyld loader failures
- No crash due to missing system frameworks
Actual results
- The app crashes instantly on affected iOS devices
- Flutter does not start; crash happens before main()
- Crash trace from dyld indicates missing private framework:
Library not loaded: /System/Library/Frameworks/_LocationEssentials.framework/_LocationEssentials
Code sample
Code sample
The app crashes on startup even before geocoding code execution.
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
4.0.0
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.38.1, on macOS 26.0.1 25A362 darwin-x64, locale en-IN) [1,954ms]
• Flutter version 3.38.1 on channel stable at /Users/vivekyadav/fvm/versions/3.38.1
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b45fa18946 (2 weeks ago), 2025-11-12 22:09:06 -0600
• Engine revision b5990e5ccc
• Dart version 3.10.0
• DevTools version 2.51.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets,
omit-legacy-version-file, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [4.0s]
• Android SDK at /Users/vivekyadav/Library/Android/sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: /Users/vivekyadav/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) [3.7s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A400
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [17ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (2 available) [7.2s]
• macOS (desktop) • macos • darwin-x64 • macOS 26.0.1 25A362 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 142.0.7444.176
! Error: Browsing on the local area network for Suraj’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network
as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [1,294ms]
• All expected network resources are available.
• No issues found
- 主要语言
- Dart
- 星标
- 153
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Baseflow/flutter-geocoding 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 84/100
Baseflow/flutter-geocoding#311 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
Baseflow/flutter-geocoding#309 ·
-
难度 4/5 3-5 天 新手友好度 35/100
Baseflow/flutter-geocoding#286 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
Baseflow/flutter-geocoding#257 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
Baseflow/flutter-geocoding#247 · 1 条评论 · 1 个 reaction ·
查看 Baseflow/flutter-geocoding 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
code quality good first issue
难度 2/5 1-3 小时 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 92/100
conceptadev/noir#95 ·