Skip to content
Preview: packages are not published yet.

Requirements

Nitro UI Brownfield is a preview. It supports one version of Nitro UI, 0.3.0, and its toolchain is the one Nitro UI itself requires. This page lists every tool and version, says where each requirement comes from, and says what is not supported. Nitro UI Brownfield is a third-party library and is not endorsed by the Nitro UI authors.

Installation is covered on the install page.

  • The React team needs everything on this page. It builds the binary dependency, so it needs Bun, Xcode and the Android toolchain.
  • The native team only consumes the artifact. It needs an Xcode project that can add Swift packages, or a Gradle project, and no Bun, JavaScript or NDK. The artifact asks for iOS 16 or later and a minSdk of 26 or higher.

The “Comes from” column says whose requirement it is. Nitro UI means Nitro UI 0.3.0 states or builds with it. This library means Nitro UI Brownfield declares it in its own build files.

Tool Required version Comes from Notes
Apple silicon Mac arm64 Nitro UI The Nitro UI CLI names Apple silicon Macs and x86-64 Linux as hosts. Linux supports Android builds only.
Xcode 27 Nitro UI Needed for iOS only.
Swift tools version 6.4 This library The library’s Package.swift declares swift-tools-version: 6.4.
iOS deployment target 16.0 Nitro UI and this library The library’s Package.swift declares .iOS(.v16), and the CLI’s floor for brownfield.ios.minimum is 16.0.
iOS dependency manager Swift Package Manager This library The artifact is a Swift package.
Bun required Nitro UI The Nitro UI CLI and the nuib entry point are Bun scripts.
JDK 17 Nitro UI Android builds only.
Android SDK platform 36 (compileSdk) Nitro UI and this library Android builds only.
Android API level (minSdk) 26 Nitro UI and this library Devices need Android 8.0 (API 26) or newer.
Android NDK 29.0.14206865, exactly Nitro UI Pinned as ndkVersion in Nitro UI’s runtime and CLI build files.
CMake 3.22.1 Nitro UI Install it from the Android SDK manager. Android builds also need Ninja and Python 3.
Gradle 8.13 This library’s sample hosts The Gradle wrapper of the example apps.
Android Gradle Plugin 8.13.2 This library’s sample hosts In the example apps.
Kotlin 2.2.0 This library’s sample hosts In the example apps.

Nitro UI Brownfield supports Nitro UI 0.3.0, exactly. Pin it exactly in the React project. A range or a different version is not supported.

  • CocoaPods. The artifact is a Swift package, and the library ships no podspec.
  • Package managers other than Bun. The Nitro UI CLI and nuib run on Bun.
  • Intel Macs. The iOS slices of the artifact are arm64 only; there is no x86_64 simulator slice.
  • Windows hosts. iOS builds need Xcode, which runs only on macOS, and the Nitro UI CLI names only Apple silicon Macs and x86-64 Linux as hosts.
  • Android ABIs other than arm64-v8a. The artifact’s own native libraries are arm64-v8a only.
  • A Nitro UI version other than 0.3.0.

Print each version and compare it with the matrix.

Terminal window
xcodebuild -version # Xcode 27
swift --version # Swift tools 6.4 must be supported
bun --version
java -version # 17
python3 --version # Python 3, Android builds only
ninja --version # Ninja, Android builds only

For the Android SDK, list the installed packages and look for platforms;android-36, ndk;29.0.14206865 and cmake;3.22.1.

Terminal window
"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --list_installed
ls "$ANDROID_HOME/ndk" "$ANDROID_HOME/cmake"

In a Gradle project, print the Gradle version from the wrapper.

Terminal window
./gradlew --version

Set ANDROID_HOME to your Android SDK directory, and add its platform-tools directory to PATH so the command line can find adb.