-
Notifications
You must be signed in to change notification settings - Fork 81
Description
Before submitting a new issue
- I tested using the latest version of the library, as the bug might be already fixed.
- I tested using a supported version of react native.
- I checked for possible duplicate issues, with possible answers.
Bug summary
I wanted to use this for a sidebar in a React Native macOS app. I'm currently using version 0.78.3 of react-native-macos, and building on macOS 15.7.2. I get these build errors. I tried to get codex to patch it, but then it didn't display anything, so I guess it patched it wrong 😅
❌ /Users/jay/Documents/code/legendapp/legend-music/node_modules/react-native-bottom-tabs/ios/BottomAccessoryProvider.swift:12:49: 'TabViewBottomAccessoryPlacement' is only available in macOS 26.0 or newer
public func emitPlacementChanged(_ placement: TabViewBottomAccessoryPlacement?) {
^
❌ /Users/jay/Documents/code/legendapp/legend-music/node_modules/react-native-bottom-tabs/ios/TabView/NewTabView.swift:92:18: 'tabViewBottomAccessoryPlacement' is only available in macOS 26.0 or newer
@Environment(.tabViewBottomAccessoryPlacement) var tabViewBottomAccessoryPlacement
^
❌ /Users/jay/Documents/code/legendapp/legend-music/node_modules/react-native-bottom-tabs/ios/TabView/NewTabView.swift:91:8: type 'BottomAccessoryRepresentableView' does not conform to protocol 'NSViewRepresentable'
struct BottomAccessoryRepresentableView: PlatformViewRepresentable {
^
Library version
1.0.5
Environment info
System:
OS: macOS 15.7.2
CPU: (8) arm64 Apple M3
Memory: 265.52 MB / 24.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 24.11.1
path: ~/.nvm/versions/node/v24.11.1/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 11.6.2
path: ~/.nvm/versions/node/v24.11.1/bin/npm
Watchman:
version: 2025.11.10.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/jay/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 25.0
- iOS 26.0
- macOS 26.0
- tvOS 26.0
- visionOS 26.0
- watchOS 26.0
Android SDK:
Android NDK: 26.1.10909125
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode:
version: 26.0/17A324
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /Users/jay/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: falseSteps to reproduce
- Install in a react-native-macos app
- Build
- See build errors
Reproducible sample code
It reproduces in the bottom-tabs-2 branch of my legend-music app: https://github.com/LegendApp/legend-music/tree/bottom-tabs-2