Closed airled closed 5 years ago
Please help with the same problem, I'd facing too... I cannot business app for a week because of this one!! What it can be?? I tried to fix this with hundreds of ways but no any of success. @doochik or anybody! RN: 0.59.5. (it also do not work on 0.57.x) YandexMetrica framework 3.5.0.
@doochik Same with me.
@dkfl1995 @airled I've fixed it by: 1) Open XCode 2) go to the RCTAppMetrica.xcodeproj project settings 3) Then click on RCTAppMetrica in the "Targets" (left panel) 4) Then go to "Build Settings" 5) Open "Search paths" 6) Fix "Header Search Paths" to Pods/Headers/Public directory
For example: Mine was $(PROJECT_DIR)/../../../../ios before
I've changed it to $(PROJECT_DIR)/../../../../ios/Pods/Headers/Public
And finally it worked
@AnthonyAkentiev Works! Thank you so much! And I want to mention that fix above works if you install Appmetrica via pods (no need to copy whole lib to ios directory)
Hi. I try to install library but face issues. As far as I see, it's not issue with react-native-appmetrica itself, but with original library. What I do:
YandexMobileMetrica.framework
toios
directoryyarn add react-native-appmetrica
react-native link react-native-appmetrica
Build Phase -> Link Binary With Libraries
I addYandexMobileMetrica.framework
When I run
react-native run-ios
I get this log:Is there anything I miss? Dependencies:
Pods:
Thanks