Repository Public License
1# DuckDB23| | |4|---|---|5| Name | DuckDB (`libduckdb`) |6| Version | v2.0.1 (build `8d78114e90`, "Cyanoptera") |7| Upstream | https://github.com/duckdb/duckdb — https://duckdb.org |8| Download | `https://github.com/duckdb/duckdb/releases/download/v2.0.1/duckdb-shared-libs-osx-universal.tar.gz` |9| SHA-256 | `9a4be5a2a31ad5bb8c92bf37f18d59b9c10a79b392d7848cabd6eb2e05837449` |10| License | MIT (Copyright 2018-2026 Stichting DuckDB Foundation) |11| Used by | `Packages/EngineData` (module `CDuckDB`, C API only) |1213## How it is built and linked1415`build.sh` downloads the official universal shared library published by the DuckDB project, verifies its SHA-256,16thins it to **arm64** (`lipo -thin arm64`), re-signs it ad hoc (the signature is replaced when the app is signed) and17wraps it with its public C header `duckdb.h` into `CDuckDB.xcframework`. Nothing is compiled from source and nothing is18patched. `Packages/EngineData/Package.swift` consumes the xcframework as a SwiftPM `binaryTarget`; the dynamic library19(`@rpath/libduckdb.dylib`, about 63 MB) is copied next to the product and must be embedded in the app bundle20(`Contents/Frameworks`) and signed with it.2122The official binary declares a minimum macOS of 11.0, below the app's 15.0 target.2324## What the engine uses2526Only what is compiled into the official library: the core engine, the `parquet`, `json`, `icu` and `core_functions`27components and the CSV reader/writer. No extension is ever installed or loaded: every session is opened with28`autoinstall_known_extensions = false`, `autoload_known_extensions = false`, `enable_external_access = false`29(file access limited to the job's directory and the job's source files through `allowed_directories` /30`allowed_paths`) and `lock_configuration = true`. DuckDB's SQLite, Excel, Arrow and spatial extensions are **not**31used; those formats are read and written by the engine's own Swift code and the system `libsqlite3`.3233## Obligations (MIT)3435The copyright notice and the permission notice must be included in the application's acknowledgements:3637> Copyright 2018-2026 Stichting DuckDB Foundation38>39> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated40> documentation files (the "Software"), to deal in the Software without restriction, including without limitation the41> rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to42> permit persons to whom the Software is furnished to do so, subject to the following conditions:43>44> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the45> Software.46>47> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE48> WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR49> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR50> OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.5152DuckDB itself bundles third-party components under their own permissive licenses; see the `third_party` directory53of the DuckDB repository at the pinned tag for their notices.54