Skip to content
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

‘AppAuth.h’ file not found #80

Closed
ticky opened this issue Mar 29, 2018 · 4 comments
Closed

‘AppAuth.h’ file not found #80

ticky opened this issue Mar 29, 2018 · 4 comments

Comments

@ticky
Copy link

ticky commented Mar 29, 2018

It seems that the import statement needs to specify the framework name.

It should be <AppAuth/AppAuth.h> instead of ”AppAuth.h"

@kadikraman
Copy link
Contributor

You are correct!

In case anyone is wondering (as this was news to me) <AppAuth/AppAuth.h> is when the header is part of a static lib or framework whereas #import "AppAuth.h" when the header is in your source or part of a sub project.

As I've found out, it worked because in RN case, the build process makes both a static lib of React Native and the source is a sub project.

But yes, fixing it 👍

@ticky
Copy link
Author

ticky commented Apr 4, 2018

Hmm, it seems like this needs an update to the docs, too?

@kadikraman
Copy link
Contributor

Indeed. Hopefully fixed for good now in #90

@verybluebot
Copy link

verybluebot commented Apr 21, 2020

Still getting the same error, really lost with this one..
tried most of issue #134 still nothing

EDIT - SLOVED:
downgrading inside Carthage file from:

github "openid/AppAuth-iOS" "master"

to

github "openid/AppAuth-iOS" == 0.95.0

removeing build:

rm -rf ios/build

and installing with Cartrhage

carthage bootstrap

seems solve this one for me.

only to get this error:

No known class method for selector 'sha265:' 

solved it with this - answer in issue #256

basically changed manually 265 to 256

those 2 fixed the issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants