UXDL Docs

Setup & Installation

iOS/Android toolchain, pods, simulators, and local build verification.

Prerequisites

ToolmacOSPurpose
Xcode 15+RequirediOS builds and simulator
Android StudioRequiredAndroid emulator and SDK
Node.js 20 LTSRequiredJS runtime
WatchmanRecommendedFile watching
CocoaPodsRequirediOS native dependencies
bash
brew install watchman
sudo gem install cocoapods
node --version

Clone and install

bash
git clone git@github.com:company/mobile-app.git
cd mobile-app
pnpm install
cd ios && bundle install && bundle exec pod install && cd ..

Environment configuration

dotenv
API_URL=http://localhost:4000/api
COGNITO_USER_POOL_ID=us-east-1_xxxxx
COGNITO_CLIENT_ID=xxxxxxxx
COGNITO_DOMAIN=auth.company.com

Use .env.staging and .env.production for build variants.

Run locally

bash
# iOS simulator
pnpm ios
 
# Android emulator
pnpm android
 
# Metro bundler only
pnpm start

Verify setup

  1. Metro bundler starts without errors.
  2. iOS simulator launches the app.
  3. Login flow completes via Cognito.
  4. API calls return data with Bearer token.
  5. pnpm test passes.