-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'klaviyo_react_native_sdk-Swift.h' file not found #129
Comments
Hey @niklavsBariss thanks for reporting this issue to us. We have had other users report this as well and we've tried extensively to reproduce this on our end and we've not succeeded. Based on our research we believe this is probably something to do with derived data with xcode local dev setup. Here's a suggestion we've been making to our developers since we are not able to reproduce it ourselves. Please let us know if the above suggestion works for you. Good luck! |
Thank you for responding @ajaysubra but no success - I tried To help me troubleshoot: which file should be imported by |
Just to note I’m still getting the same error, albeit I use expo. |
The fix proposed by youcefswoo in #78 works for me |
I'm facing the same issue on React Native 0.73.2 and klaviyo-react-native-sdk 0.2.0. I tried |
I think in my case the issue is related to using additionally |
My project also uses @react-native-firebase , maybe a clash is happening with this library when building? package.json below if helps:
|
Hi @niklavsBariss sorry that didn't work. I've been looking into this and I may have stumbled upon some official apple docs which suggests to use what #78 suggests but in the meantime can either of you please check what Generated Header Name for Just to be clear, I'm not suggesting any fixes yet just still in the discovery process and trying to understand why our test app succeeds while some of our customers have reported failures. |
@ajaysubra same as yours |
We decided to use #78 with patch-package for now with some heavy, test enforced |
We are also using firebase messaging |
@ajaysubra would you need anything else from our side to help you investigate the issue? |
Hey folks, we have narrowed down the issue to firebase react native, specifically this step in the setup. Adding The good news is we know what the issue is and are able to reproduce it. As I mentioned this is related to using firebase react native SDK and how it has some instructions that change the way our SDK is imported by cocoapods. The bad news is we have users who do not use frameworks and we also need to support them as well. We are exploring solutions and will update once we have one. Unfortunately, I don't have an exact timeline of when we'll have a solution but know that we are actively working on this. Thanks! |
As an update, created #132 PR to address this issue. Totally optional, but if any of y'all want to test it out below are the steps.
We will go through the review process and merge the PR in and we are working through another issue so we might batch the release. Will keep y'all posted when we release the fixes. Thanks for your patience with this issue. |
Tested and working great, thank-you! |
This issue is now fixed and is part of release |
Checklist
master
branch or latest release of this package.Description
Steps to reproduce
yarn add klaviyo-react-native-sdk
Add code to Podfile
pod install
yarn ios
I tried doing the same with a clean react native 0.71.13 project, but didn't have the same issue.
The Klaviyo React Native SDK version information
0.2.0
Environment Description
The text was updated successfully, but these errors were encountered: