googlemaps / googlemaps/flutter-navigation-sdk

[Bug]: CarPlay Simulator crashes on iOS versions > 26.3

Open
#713 3 comments 0 reactions 2 assignees Claimed by @jokerttu View on GitHub
priority: p2 type: bug
Dominant language
Dart
Stars
75
Forks
54
Avg merge
4d 2h
Merged PRs (30d)
5

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description of the bug

The CarPlay example works on the iOS 18/26.3 simulator, but on iOS 26.4.1 and above the CarPlay crashes immediately when the CarPlay scene launches. However the app process does not crash. Apple’s CarPlayTemplateUIHost crashes with doesNotRecognizeSelector in CPSMapTemplateViewController _updateShareButtonVisibility / _configureNavigationBarShareButton.

I reduced the setup to a bare minimum CPMapTemplate() with no Google map content, and it still crashes, which suggests an Apple CarPlay Simulator regression rather than an issue in the Flutter integration.

Needs further investigation.

Image

### Flutter version

3.41.8

### Package version

0.92

### Native SDK versions

- [x] I haven't changed the version of the native SDKs

### Flutter Doctor Output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.8, on macOS 26.4.1 25E253 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.5)
[✓] Chrome - develop for the web
[✓] Connected device (3 available)
[✓] Network resources

### Steps to reproduce

Run the example and start carplay app.

### Expected vs Actual Behavior

Should work normally and not crash.

### Code Sample

-

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.