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

fatal error: 'UIKit/UIDevice.h' file not found #import <UIKit/UIDevice.h> #193

Open
sangeethkumarv opened this issue Sep 9, 2020 · 2 comments

Comments

@sangeethkumarv
Copy link

When updating to the latest version of RN, the iOS build fails with the below message
fatal error: 'UIKit/UIDevice.h' file not found
#import <UIKit/UIDevice.h>
^~~~~~~~~~~~~~~~~~

"react": "16.13.1",
"react-native": "0.63.2",
"react-native-localization": "2.1.6",

It is working fine in
"react-native": "0.62",

@sangeethkumarv
Copy link
Author

Build fails only when I run in mac os using the below lib
https://github.com/microsoft/react-native-macos

@sangeethkumarv
Copy link
Author

sangeethkumarv commented Sep 9, 2020

https://stackoverflow.com/a/46901911
This might be useful for the fix

We need this lib to support AppKit for macOS, But by default it uses UIKit as it is build only for mobile apps

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