tolu360/react-native-paystack

'Paystack/Paystack-Swift.h' file not found

BadMask121 opened this issue · 7 comments

Screenshot 2021-04-11 at 12 40 21 PM

Screenshot 2021-04-11 at 12 41 23 PM

Been having this issue, it might seem it's from core paystack-ios issue but i'm still putting out here to see if anyone has this issue

'Paystack/Paystack-Swift.h' file not found

I have also been having this issue too @tolu360 can you pls help us out

Still no help?

Has anyone solved it?

I'm facing the same issue ooo.... Please can anyone help out please......

I think this error is due to the fact that the project has not been updated for a very long time now.
Go to your podfile and downgrade
platform :ios, '11.0'
to
platform :ios, '10.0'
clean your build and rebuild
the downside about this solution is that it might affect some other packages that depend on the higher version of the ios target platform, but if that's not the case then you are good to go.

Any solution yet to this for swift iOS???

Sad, @tolu360 please help

To fix this please do

  1. Step 1 change Paystack version inside of my Podfile.lock from 3.0.13 to 3.0.16 as mentioned here
  2. Step 2 Follow the guidelines to fix new error here