Baseflow / Baseflow/flutter-geocoding
[Bug]: App crashes on iOS devices having iOS version lower than 26.x
- 主要语言
- Dart
- 星标
- 153
- 派生
- 92
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Please check the following before submitting a new issue.
- [x] I have searched the [existing issues](https://github.com/baseflow/flutter-geocoding/issues).
- [x] I have carefully [read the documentation](https://github.com/Baseflow/flutter-geocoding/blob/main/geocoding/README.md) and verified I have added the required platform specific configuration.
### Please select affected platform(s)
- [ ] Android
- [x] iOS
### Steps to reproduce
- Install `geocoding` in 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.framework` should 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
```dart
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
```console
[✓] 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
```
贡献指南
调研方向
首先检查 iOS 插件配置以及 geocoding_ios.framework 的链接,并使用报告中的 Xcode 26.0.1 构建和 dyld 失败作为复现用例。在受影响的旧版 iOS 设备上验证该插件;完成的标准是该 framework 仅使用公共 SDK,并且应用能够启动而不会出现缺少 _LocationEssentials.framework 的错误。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- dart, ios
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100