LocalGallery is a folder-backed photo app: iOS (SwiftUI + UniFFI) and
Linux (GTK4 / libadwaita) share the Rust core under core/.
Write about what the tree does now. Standing decisions live in
docs/adr/. Do not add _plans/, docs/plans/, or other
roadmap files to this repo. See ADR 0005.
Contributions are MPL-2.0. Keep Cargo license fields and
AppStream project_license on MPL-2.0. Do not add LGPL image
decoders to the shipping binary
(ADR 0004).
iOS (Apple Silicon Mac, Xcode that provides an iPhone simulator):
./scripts/build_core.sh
./scripts/prepare_pack.sh # optional; needs a built pack
xcodegen
# Any available iPhone simulator (iOS 18+). Helper: scripts/pick_ios_simulator.sh
xcodebuild test -project LocalGallery.xcodeproj -scheme LocalGallery \
-destination "platform=iOS Simulator,name=$(./scripts/pick_ios_simulator.sh)" \
-testLanguage en -testRegion USxcodegen needs build/core/GalleryCore.xcframework and the
build/pack folder path from project.yml. The Xcode Build Rust
Core phase reruns scripts/build_core.sh. Locale flags are required:
memories fixtures assert en_US.
Rust core and Linux host tests:
cd core && cargo test --workspace
cd linux && cargo test --no-default-featuresLinux UI: see linux/INSTALL.md. Model pack: scripts/build_model_pack/README.md.
Do not bump dependency versions, edit GitHub workflows, or alter runtime tests unless the change is about that area.