react-native-oauth icon indicating copy to clipboard operation
react-native-oauth copied to clipboard

DCTAuthAccount.h not found

Open kenjichanhkg opened this issue 5 years ago • 1 comments

I've followed the readme. I did all the steps, except for the last one (Adding URL schemes). But I believe url scheme isn't the problem here.

I went ahead and try to compile and run my project, but I got a compile error saying DCTAuthAccount.h is not found. I googled it and found this post in https://github.com/fullstackreact/FirestackApp/issues/6

Then, I added this line somewhere in ios/Podfile, and re-run pod install pod 'DCTAuth', :git => 'https://github.com/danielctull/DCTAuth.git'

I thought it fixed the issue, but I got another error, saying React/RCTDefines.h not found image

I have no idea what's going on here.

Can anyone help me?

Kenji

kenjichanhkg avatar Dec 12 '20 15:12 kenjichanhkg

I've overcome the issue by adding "${SRCROOT}/../../../ios/Pods/Headers" in OAuthManager's project header search path. Should someone merge it to the main repo?

kenjichanhkg avatar Dec 13 '20 09:12 kenjichanhkg