SPB Git

Repository Public License

NOTICE.md 3.3 KB

# DuckDB

Name DuckDB (libduckdb)
Version v2.0.1 (build 8d78114e90, "Cyanoptera")
Upstream https://github.com/duckdb/duckdb — https://duckdb.org
Download https://github.com/duckdb/duckdb/releases/download/v2.0.1/duckdb-shared-libs-osx-universal.tar.gz
SHA-256 9a4be5a2a31ad5bb8c92bf37f18d59b9c10a79b392d7848cabd6eb2e05837449
License MIT (Copyright 2018-2026 Stichting DuckDB Foundation)
Used by Packages/EngineData (module CDuckDB, C API only)

# How it is built and linked

build.sh downloads the official universal shared library published by the DuckDB project, verifies its SHA-256, thins it to arm64 (lipo -thin arm64), re-signs it ad hoc (the signature is replaced when the app is signed) and wraps it with its public C header duckdb.h into CDuckDB.xcframework. Nothing is compiled from source and nothing is patched. Packages/EngineData/Package.swift consumes the xcframework as a SwiftPM binaryTarget; the dynamic library (@rpath/libduckdb.dylib, about 63 MB) is copied next to the product and must be embedded in the app bundle (Contents/Frameworks) and signed with it.

The official binary declares a minimum macOS of 11.0, below the app's 15.0 target.

# What the engine uses

Only what is compiled into the official library: the core engine, the parquet, json, icu and core_functions components and the CSV reader/writer. No extension is ever installed or loaded: every session is opened with autoinstall_known_extensions = false, autoload_known_extensions = false, enable_external_access = false (file access limited to the job's directory and the job's source files through allowed_directories / allowed_paths) and lock_configuration = true. DuckDB's SQLite, Excel, Arrow and spatial extensions are not used; those formats are read and written by the engine's own Swift code and the system libsqlite3.

# Obligations (MIT)

The copyright notice and the permission notice must be included in the application's acknowledgements:

Copyright 2018-2026 Stichting DuckDB Foundation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

DuckDB itself bundles third-party components under their own permissive licenses; see the third_party directory of the DuckDB repository at the pinned tag for their notices.

Files main
Menu

Theme