Open cryptixcoder opened 11 months ago
Make sure that you open the xcworkspace version of the project.
Please check to make sure that you have the following two folders in your project:
Under Pods:
And under Development Pods:
I did not see the error you had reported. But I did see the following:
The purpose of this code is to support both newer and older versions of the plugin, but for simplicity you can replace `#if __has_include(<Flurry-iOS-SDK/FlurryMessaging.h>)
with the following code: @import Flurry_Messaging;
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 theReactNativeFlurry.h
file. Is there something I'm doing wrong?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: 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.