Description
I constantly get these errors
/Users/username/workspace/appName/node_modules/react-native-screens/ios/RNSScreenStackHeaderConfig.mm:39:49 Constexpr variable 'DEFAULT_TITLE_FONT_SIZE' must be initialized by a constant expression
/Users/username/workspace/appName/node_modules/react-native-screens/ios/RNSScreenStackHeaderConfig.mm:40:55 Constexpr variable 'DEFAULT_TITLE_LARGE_FONT_SIZE' must be initialized by a constant expression
Can anyone kindly help out? I cannot seem to find out why this is happening
react-native v0.76.9 react-native-screens v4.11.1 All react native navigation libraries are at the latest version as at the time of this post.
I have cleared/reinstalled pod, cleared derived data, cleaned project and rebuilt and still get the error. It only builds fine when I downgrade react-native-screens to v3.35.0
Steps to reproduce
- Install the latest version of react-native screens
- Navigate to the ios directory and run
pod install
- Attempt a build from xcode or run ios build from the command line.
Snack or a link to a repository
None
Screens version
4.11.1
React Native version
0.76.9
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
iOS simulator
Device model
No response
Acknowledgements
Yes
Description
I constantly get these errors
/Users/username/workspace/appName/node_modules/react-native-screens/ios/RNSScreenStackHeaderConfig.mm:39:49 Constexpr variable 'DEFAULT_TITLE_FONT_SIZE' must be initialized by a constant expression
/Users/username/workspace/appName/node_modules/react-native-screens/ios/RNSScreenStackHeaderConfig.mm:40:55 Constexpr variable 'DEFAULT_TITLE_LARGE_FONT_SIZE' must be initialized by a constant expression
Can anyone kindly help out? I cannot seem to find out why this is happening
react-native v0.76.9 react-native-screens v4.11.1 All react native navigation libraries are at the latest version as at the time of this post.
I have cleared/reinstalled pod, cleared derived data, cleaned project and rebuilt and still get the error. It only builds fine when I downgrade react-native-screens to v3.35.0
Steps to reproduce
pod installSnack or a link to a repository
None
Screens version
4.11.1
React Native version
0.76.9
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
iOS simulator
Device model
No response
Acknowledgements
Yes