8000 Remove usage of deprecated constants in isM1Simulator method by Crepiks · Pull Request #395 · Unact/yandex_mapkit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove usage of deprecated constants in isM1Simulator method #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Crepiks
Copy link
@Crepiks Crepiks commented Apr 15, 2025

Motivation

In the recent XCode update Flutter apps with yandex_mapkit package stopped launching because of an error in isM1Simulator method which used deprecated constant values.

This is the fix of Swift Compiler Error (Xcode): Cannot find 'TARGET_IPHONE_SIMULATOR' in scope.

Changes

This PR replaces usages of deprecated constants by conditional compilation directives of Swift.

Related issue

#393

@Crepiks
Copy link
Author
Crepiks commented Apr 15, 2025

@DCrow, please, take a look at the changes, this issue affects big number of users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Non 42C1 e yet
Development

Successfully merging this pull request may close these issues.

1 participant
0