ReactNativeLocalization
ReactNativeLocalization copied to clipboard
fatal error: 'UIKit/UIDevice.h' file not found #import <UIKit/UIDevice.h>
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",
Build fails only when I run in mac os using the below lib https://github.com/microsoft/react-native-macos
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