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

Include of non-modular header inside framework module #484

Open
e-shawakri opened this issue Mar 1, 2024 · 0 comments
Open

Include of non-modular header inside framework module #484

e-shawakri opened this issue Mar 1, 2024 · 0 comments

Comments

@e-shawakri
Copy link

I always get this issue when I run an iOS project after adding flutter_appauth dependency:

Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'flutter_appauth.AppAuthIOSAuthorization': '/Users/emad/StudioProjects/d-ticket/ios/Pods/Headers/Public/AppAuth/AppAuth.h'
/Users/emad/.pub-cache/hosted/pub.dev/flutter_appauth-6.0.4/ios/Classes/AppAuthIOSAuthorization.h:0:8

Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'flutter_appauth.OIDExternalUserAgentIOSNoSSO': '/Users/emad/StudioProjects/d-ticket/ios/Pods/Headers/Public/AppAuth/AppAuth.h'
/Users/emad/.pub-cache/hosted/pub.dev/flutter_appauth-6.0.4/ios/Classes/OIDExternalUserAgentIOSNoSSO.h:19:8

Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'flutter_appauth.FlutterAppAuth': '/Users/emad/StudioProjects/d-ticket/ios/Pods/Headers/Public/AppAuth/AppAuth.h'
/Users/emad/.pub-cache/hosted/pub.dev/flutter_appauth-6.0.4/ios/Classes/FlutterAppAuth.h:6:8

Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'flutter_appauth.FlutterAppauthPlugin': '/Users/emad/StudioProjects/d-ticket/ios/Pods/Headers/Public/AppAuth/AppAuth.h'
/Users/emad/.pub-cache/hosted/pub.dev/flutter_appauth-6.0.4/ios/Classes/FlutterAppauthPlugin.h:10:8

Parse Issue (Xcode): Could not build module 'flutter_appauth'
/Users/emad/StudioProjects/d-ticket/ios/Runner/GeneratedPluginRegistrant.m:33:8

flutter_appauth version ==> 6.0.4, also with previous versions I got this issue.
I've tried to upgrade Flutter to the latest version but with no success.
I've tried cleaning the project and building it again but with no success.

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

1 participant