Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Warning in Xcode #110

Closed
RublevIgor123 opened this issue Nov 6, 2022 · 3 comments
Closed

Warning in Xcode #110

RublevIgor123 opened this issue Nov 6, 2022 · 3 comments

Comments

@RublevIgor123
Copy link

Xcode версия: Version 14.0.1 (14A400).
Pod версия: pod 'YandexMobileMetrica', '~> 4.4.0'.

Проблема: висит варнинг в классе AppDelegate.swift на строке @main.
This method can cause UI unresponsiveness if invoked on the main thread. Instead, consider waiting for the -locationManagerDidChangeAuthorization: callback and checking authorizationStatus first.

Я нигде не юзаю CLLocationManager, только в вашем поде это есть.
Пруфы смогу скинуть куда скажете. Косяк мелкий, и надеюсь быстро пофиксите, просто решил сообщить сразу как увидел.

Решение:
https://stackoverflow.com/questions/73805219/main-thread-warning-with-cllocationmanager-locationservicesenabled

@Sergey70
Copy link
Contributor

Спасибо за обращение.

@RublevIgor123
Copy link
Author

пруфы тут

@GLinnik21
Copy link
Contributor

Спасибо! Проблема будет исправлена в следующем релизе.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants