2. Call `YMKMapKit.sharedInstance()` in `AppDelegate` as in [example](https://github.com/yandex/mapkit-ios-demo/blob/master/MapKitDemo/AppDelegate.swift)
```swift
/**
If you create instance of YMKMapKit not in application:didFinishLaunchingWithOptions:
you should also explicitly call YMKMapKit.sharedInstance().onStart()
*/
YMKMapKit.sharedInstance()
YandexMapsMobile as subpackage
If you use YandexMapsMobile as subdependency in your own package you should probably add linkerSettings to the target for successful building:
YandexMapsMobile
Binary Framework as Swift Package with Yandex mobile maps (full version).
Yandex mobile maps lite version you can find here.
🎉 Works on Apple silicone without Rosetta mode (you can find manual here).
Requirements
Swift Package Manager
To integrate YandexMapsMobile into your project using SwiftPM do this 👇🏻
https://github.com/c-villain/YandexMapsMobile.git
or add the following code to your
Package.swift
:or via XcodeGen insert into your
project.yml
:Recommedations to use
Using on Apple silicon without Rosetta mode
YMKMapView
withvulkanPreferred: true
```swift YMKMapView.init(frame: .zero, vulkanPreferred: isM1Simulator())….
YandexMapsMobile as subpackage
If you use
YandexMapsMobile
as subdependency in your own package you should probably addlinkerSettings
to the target for successful building:Special thanks
to Igor Makarov for his contributing in the release v.4.0.1
Communication
👨🏻💻 Feel free to subscribe to channel SwiftUI dev in telegram.
If you like this repository, please do
to make this useful for others.