Description
After upgrading to react-native-screens 4.24.0, iOS builds fail with undeclared identifier errors for RNSBottomTabsScreenComponentView and RNSBottomTabsHostComponentView. Android builds succeed. The app does not use native bottom tabs.
Error
- use of undeclared identifier 'RNSBottomTabsScreenComponentView'
- use of undeclared identifier 'RNSBottomTabsHostComponentView'
- unknown type name 'RNSBottomTabsScreenComponentView'; did you mean 'RNSTabsScreenComponentView'?
- unknown type name 'RNSBottomTabsScreenComponentView'; did you mean 'RNSTabsScreenComponentView'?
- unknown type name 'RNSBottomTabsHostComponentView'; did you mean 'RNSTabsHostComponentView'?
- unknown type name 'RNSBottomTabsHostComponentView'; did you mean 'RNSTabsHostComponentView'?
The Xcode build fails during the "Run fastlane" step in the Xcode build process. The errors suggest RNSBottomTabsScreenComponentView and RNSBottomTabsHostComponentView are referenced by the Fabric component provider but their implementations are not being compiled.
Steps to reproduce
- Use
react-native-screens 4.24.0 with New Architecture (Fabric) enabled
- Build for iOS
- Xcode fails during compilation with the above errors
Expected behavior
iOS build should succeed as it did on 4.23.0.
Workaround
Pin react-native-screens to 4.23.0.
Environment
- react-native-screens: 4.24.0
- react-native: 0.81.6
- expo: 54.0.33
- @react-navigation/bottom-tabs: 7.14.0
- New Architecture (Fabric): enabled
- Platform: iOS (Android builds fine)
Description
After upgrading to
react-native-screens4.24.0, iOS builds fail with undeclared identifier errors forRNSBottomTabsScreenComponentViewandRNSBottomTabsHostComponentView. Android builds succeed. The app does not use native bottom tabs.Error
The Xcode build fails during the "Run fastlane" step in the Xcode build process. The errors suggest
RNSBottomTabsScreenComponentViewandRNSBottomTabsHostComponentVieware referenced by the Fabric component provider but their implementations are not being compiled.Steps to reproduce
react-native-screens4.24.0 with New Architecture (Fabric) enabledExpected behavior
iOS build should succeed as it did on 4.23.0.
Workaround
Pin
react-native-screensto 4.23.0.Environment