How can I add Yandex.Metrika
support on my iOS app?
I've added static library libYandexMobileMetrica.a
and libsqlite3.dylib
but still get the following errors:
(null): "_OBJC_CLASS_$_KSCrashReportFilterAppleFmt", referenced from:
(null): "_OBJC_CLASS_$_PBAppendableArray", referenced from:
(null): "_OBJC_CLASS_$_PBUnknownFieldSet", referenced from:
(null): "_OBJC_CLASS_$_PBExtensionRegistry", referenced from:
(null): "_OBJC_CLASS_$_PBMutableExtensionRegistry", referenced from:
(null): "_OBJC_CLASS_$_PBGeneratedMessage_Builder", referenced from:
(null): "_OBJC_METACLASS_$_PBGeneratedMessage_Builder", referenced from:
(null): "_OBJC_CLASS_$_PBGeneratedMessage", referenced from:
(null): "_computeUInt32Size", referenced from:
(null): "_computeStringSize", referenced from:
(null): "_computeEnumSize", referenced from:
(null): "_computeMessageSize", referenced from:
(null): "_computeUInt64Size", referenced from:
(null): "_computeSInt32Size", referenced from:
(null): "_computeDoubleSize", referenced from:
(null): "_OBJC_IVAR_$_PBGeneratedMessage.memoizedSerializedSize", referenced from:
(null): "_OBJC_METACLASS_$_PBGeneratedMessage", referenced from:
(null): "_OBJC_CLASS_$_ASIdentifierManager", referenced from:
(null): "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
(null): "_OBJC_CLASS_$_KSCrash", referenced from:
(null): Linker command failed with exit code 1 (use -v to see invocation)
ProtobufObjC
for iOS is available only viaCocoaPods
tool.sudo gem install cocoapods
.Podfile
like this:https://github.com/yandexmobile/metrica-sample-ios/blob/master/Podfile
pod install
.P.S.
Google Analytics
is poor. ButYandex.Metrika
is head-onanism and must die with API like this.Yandex.Metrika
doesn't work with x64 processors and can't be published on the App Store.