Search code examples
iosswiftxcodepayfort

cannot import payfort library in my project


am trying to integrate PayFort IOS SDK into my project ...

i followed the steps in their document which is: https://docs.payfort.com/pdf/FORT_Mobile-SDK_iOS_Integration_Guide_v_2.8.pdf

but when i reach step 5.3 point 1 .. i will not be able to import it and i will get this error ...

enter image description here

and only can import:

enter image description here

how to solve this and continue?


Solution

  • As I got source code from you, I found the mistake what you are doing. Please find below.

    Please set Objective-C Bridging Header to following value.

    payforttest2-Bridging-Header.h
    

    and try again adding PayFortSDK.framework and PayFortSDK.bundle.

    Hope this works for you.