chocnut / RNAdyenCse

React Native AdYen Client-Side Encryption (CSE)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'AdyenCSE/AdyenCSE.h' file not found

zerazeru opened this issue · comments

react-native-adyen-cse/ios/RNAdyenCse.m:3:9: fatal error: 'AdyenCSE/AdyenCSE.h' file not found
#import "AdyenCSE/AdyenCSE.h"
        ^~~~~~~~~~~~~~~~~~~~~
1 error generated.

Got this error when building for ios.

I think the AdyenCSE header should be imported with angle brackets:

#import <AdyenCSE.h>

@zerazeru thanks. I'll do a test first 👍

Perfect, thanks! I made a PR too, that works for me, but am not sure that's the right way so any other solutions are welcome.

If an xcode project is added to another one as a Library, shouldn't it use the parent project's header search paths too? I am not sure what's the standard way to tell that to xcode or how to solve this in the parent project without touching the child.