flurry / react-native-flurry-sdk

React Native Flurry SDK
Apache License 2.0
45 stars 13 forks source link

problem with install CocoaPods #39

Closed donchop closed 2 years ago

donchop commented 2 years ago

Describe the bug A clear and concise description of what the bug is. When I install react-native-flurry-sdk - have problem with installation pods for IOS. Also at readme and here in documentation(https://developer.yahoo.com/flurry/docs/integrateflurry/ios/). Wrote, that need add some code to "podfile", like this "pod 'Flurry-iOS-SDK/FlurrySDK' #Analytics Pod" or if you need push messages - "another code to podfile", but now "podfile" have another structure and you can't do this how I understand. Also, I not yet tried to install previous version, may be it will work...

This Bug is About Please choose the closest item by replacing [ ] with [x].

Platform Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

Environment Please tell us the versions of SDKs you are using. If you are not sure about React Native version, you can run react-native --version under your project.

To Reproduce Steps to reproduce the behavior:

  1. install react-native-flurry-sdk, and write pod install at ios folder.
  2. ...
  3. ...

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2022-01-13 at 15 20 21 Screenshot 2022-01-13 at 15 20 37 Screenshot 2022-01-13 at 15 20 46 Screenshot 2022-01-13 at 15 20 58

Additional context Are you using Flurry Push/Messaging? No (iOS) Are you using CocoaPods for React Native integration? Yes

Add any other context about the problem here.

donchop commented 2 years ago

Problem was on Mac m1, on mac-mini with intel - all good

hantao-flurrydev commented 2 years ago

Hi @donchop, for me just switch to Rosetta and re-setup cocoapods will work. So gem uninstall -aIx and then changing the "terminal" to work with Rosetta. Then do a clean up brew cleanup -d -v and re-install cocoapods under ARM arch -arm64 brew install cocoapods. Also refer to some other forem: https://github.com/CocoaPods/CocoaPods/issues/10518.

donchop commented 2 years ago

@hantao-flurrydev Thanks, it's worked !