Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 792 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 792 Bytes

obt

Building

This codebase of ObjectBox builds exclusively with spm. It is currently up to date with version 1.3.1 of https://github.com/objectbox/objectbox-swift/ Install objectbox-c:

wget https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh
chmod +x download.sh
./download.sh

Install flatbuffers:

brew install flatbuffers   

Build with Swift Package Manager:

swift build -Xcc -I/usr/local/include -Xswiftc -I/usr/local/include -Xswiftc -L/usr/local/lib

Test with Swift Package Manager:

swift test -Xcc -I/usr/local/include -Xswiftc -I/usr/local/include -Xswiftc -L/usr/local/lib

Generate Xcode Project:

swift package generate-xcodeproj --xcconfig-overrides obt.xcconfig
open obt.xcodeproj