-
Notifications
You must be signed in to change notification settings - Fork 13
Pod Spec file not found #45
Description
Describe the bug
When following the additional instructions for iOS integration to enable Push Notifications. When I got to the pod instructions I attempted to add the following:
pod 'react-native-flurry-sdk', :path => '../node_modules/react-native-flurry-sdk/ios', :subspecs => ['FlurrySDK-Push']
I then ran the following commands:
cd ios && pod install && cd ..
I then received the following error for cocoapods:
[!] No podspec found for `react-native-flurry-sdk` in `../node_modules/react-native-flurry-sdk/ios
After I looked at the react-native-flurry-sdk directory under node_modules I saw that the spec file was at ../node_modules/react-native-flurry-sdk and not ../node_modules/react-native-flurry-sdk/ios so I changed the pod line in the podfile to point to the base node_module and ran the pod install and the install finished. But when I went to run the react native ios build, it failed due to not being able to find the ReactNativeFlurry.h file. Is there something I'm doing wrong?
This Bug is About
Please choose the closest item by replacing [ ] with [x].
- Integration
- [x ] Analytics
- [ x] Messaging/Push
- Remote Configuration
- Flurry Website/Dashboard
- Other
Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].
- Android
- iOS
- tvOS
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.
- React Native version: 0.71.8
- react-native-flurry-sdk version: 8.3.0
To Reproduce
Steps to reproduce the behavior:
I simply followed the instructions given in this repo.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Are you using Flurry Push/Messaging? Yes
(iOS) Are you using CocoaPods for React Native integration? Yes
Add any other context about the problem here.