Skip to main content

Quickstart

Build and run LucidPal on a physical iPhone in under 5 minutes.

Prerequisites​

MacmacOS 14+ (Sonoma), Xcode 16.0+
iPhoneAny iPhone with 2 GB+ RAM, iOS 16+
iPhone connectionUSB or trusted on same Wi-Fi
Toolsbrew install xcodegen ios-deploy, gem install bundler

Setup​

1. Clone and install​

git clone https://github.com/lucid-fabrics/lucidpal
cd lucidpal/apps/lucidpal-ios
bundle install

2. Open in Xcode​

xcodegen generate
open LucidPal.xcodeproj

Or use the device lane directly (step 3).

3. Deploy to iPhone​

bundle exec fastlane ios device

This lane:

  1. Regenerates the Xcode project (xcodegen generate)
  2. Builds for your connected device (auto-detected via CoreDevice)
  3. Installs via ios-deploy (Wi-Fi if USB not connected)

On first launch, LucidPal prompts you to download an AI model and grant calendar permission. The app works fully offline after the model is downloaded.


Development​

Run Tests​

bundle exec fastlane ios tests

Or in Xcode: Product → Test (⌘U).

Fastlane Lanes​

LaneCommandDescription
devicebundle exec fastlane ios deviceBuild + install on connected iPhone
testsbundle exec fastlane ios testsRun full test suite
generatebundle exec fastlane ios generateRegenerate Xcode project only
provisionbundle exec fastlane ios provisionRegister App IDs + App Group (one-time only)

The commit-msg hook enforces a 72-character subject line limit. Commits over the limit are rejected automatically.


What to Do Next​

GoalWhere to go
Chat with AIOpen LucidPal — tap mic or start typing
Calendar commands"What's on tomorrow?" or "Add dentist Friday at 10am"
Download a modelFirst-launch carousel or Settings → Text Model
Voice inputTap mic button on home screen or chat input bar
Siri shortcutsSettings → Shortcuts — all intents are pre-configured
Habits / NotesTap the tab icons at the bottom of the screen