I want install this( https://cocoapods.org/pods/YandexMapKit ) package into my project. But I use Carthage. How I can do this manually?
"source": {
"http": "https://maps-ios-pods-public.s3.yandex.net/YandexMapKit-3.3.1.framework.zip",
"sha1": "6657a666992abfffcc1f7c56f2d9cca9daf5bd33"
},
and its YandexRuntime dependency from https://github.com/CocoaPods/Specs/blob/master/Specs/5/7/2/YandexRuntime/3.2.0/YandexRuntime.podspec.json :
"source": {
"http": "https://maps-ios-pods-public.s3.yandex.net/YandexRuntime-3.2.0.framework.zip",
"sha1": "b43adea5ed437b7c8f42af480447ba594c8330dd"
},
As commented above you can clone the repo and build the framework yourself and drag it into your project, since Carthage doesn't seem to be supported.
If you want to be able to update the framework you can add the git repository as a git submodule in your project and have the framework as a target in your project. In your build phases your target should have the framework as a target dependency.
Here is the detailed manual how to achieve this:
https://github.com/yandex/mapkit-ios-demo/issues/76
You can even check the demo project with YandexMapKit installed via Carthage:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.