yandexmobile / metrica-plugin-cordova

Cordova plugin for Yandex AppMetrica SDK
Other
11 stars 26 forks source link

YandexMobileMetrica.framework is not up-to-date with metrica-sdk-ios? #1

Open xr opened 7 years ago

xr commented 7 years ago

Hi, I installed this plugin for ios platform, however, this line cause the not found error:

#import <YandexMobileMetrica/YandexMobileMetrica.h>

I checked in my xcode, the YandexMobileMetrica.framework is empty, I replace the YandexMobileMetrica.framework with version 2.8.0 of metrica-sdk-ios here:

https://github.com/yandexmobile/metrica-sdk-ios

then everything is fine. Any ideas?

bamx23 commented 7 years ago

I see. The problem is about NPM/Cordova can't deal with symlinks in framework directory. https://issues.apache.org/jira/browse/CB-6092 I am going to create post-install hook that fixes symlinks.

wegorich commented 7 years ago

@bamx23 Any sample, how to solve it for metrica plugin? Not clear understand where to find

 <dependency id="com.ios.libgoogleadmobads" url="https://github.com/appfeel/google-iosadmobads"/>

id and url, to use that work around

bamx23 commented 7 years ago

As a workaround you could use this terminal command to install the plugin:

cordova plugin add https://github.com/yandexmobile/metrica-plugin-cordova.git
wegorich commented 7 years ago

@bamx23 yeah thanks 👍