mapbox / mapbox/mapbox-maps-ios
App freezes when clicking the attributionButton on iOS 17.4.1
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Xcode version: 15.3
- iOS version: 17.4.1
- Devices affected: iPhone
- Maps SDK Version: 11.3.0
## Observed behavior and steps to reproduce
There aren't much to go on I'm afraid. But when I press the attributionButton my app freezes. It looks like it only happens on iOS 17.4.1. But I have only tried iOS 17.4.1 and iOS 17.4.0. But on iOS 17.4.0 it works fine.

It seems like it only happens when the debugger is attached.
## Expected behavior
I would expect that the default sheet would appear like it does on iOS 17.4.0.
## Notes / preliminary analysis
I created a new project with only a viewcontroller with a MapView and that works just fine on both iOS 17.4.0 and 17.4.1.
I change my current app to only display the same viewcontroller and that still fails on iOS 17.4.1
## Additional links and references
-
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the attributionButton freeze on iOS 17.4.1 with Xcode 15.3, comparing the minimal MapView project with the affected app and with iOS 17.4.0. Done means the default sheet appears when the button is pressed, including while the debugger is attached.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100