mapbox / mapbox/mapbox-maps-ios

App freezes when clicking the attributionButton on iOS 17.4.1

Open
#2,169 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle: needs info
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.

![Screenshot 2024-04-24 at 18 36 22](https://github.com/mapbox/mapbox-maps-ios/assets/86009874/0e1cdfb7-aa5e-4e18-a438-8eb1f0b0148a)

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.