-
Notifications
You must be signed in to change notification settings - Fork 26
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
'Paystack/Paystack-Swift.h' file not found #45
Comments
Is there a solution ? |
@IyiolaOwabumowa @BadMask121 thank you for reporting this. Can you provide more details regarding this issue like cocoapods version, Paystack SDK version, etc. |
Hi @ravi-paystack, react-native: 0.63.4 I can send you my pod file as well if you need. I've been on this issue for over a week now. Thank you 🙏 |
@IyiolaOwabumowa What worked for me was more of a downgrade of paystack version running in react-native-paystack; rm -rf node_modules
to: - Paystack (3.0.13):
run In case any other packages throw error in the iOS project, remove the package and re-add it. I hope it works for you. |
Add this to the pod file to fix the issue:
The problem is that the Paystack target is unable to find the swift header when compiling from cocoapods because it is imported as a global header |
Problem/Motivation
Currently getting this error on build 'Paystack/Paystack-Swift.h' file not found
Working with react native and paystack
The text was updated successfully, but these errors were encountered: