FlowDeck lets you pass arguments and environment variables to your app when it launches on simulator or device. This is useful for:Documentation Index
Fetch the complete documentation index at: https://flowdeck.studio/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Skipping onboarding flows during development
- Setting debug flags
- Configuring API environments
- Testing different locales
Methods Overview
| Method | Best For | Priority |
|---|---|---|
| CLI Options | Quick testing from command line | Highest |
| Legacy Local Settings | Compatibility with older project setups | Medium |
| Config File | CI/CD, reproducible builds | Lowest |
Preferred Project Settings Format
For shared project settings, prefer storing app launch settings in:.flowdeck/config.json.flowdeck/config.local.json
appLaunch block for project-wide defaults, and schemes.<scheme>.appLaunch for per-scheme overrides.
CLI Options
App Launch Arguments
Use--launch-options to pass arguments to your app:
App Launch Environment
Use--launch-env to set environment variables for your app:
Xcodebuild Arguments
Use--xcodebuild-options to pass arguments to xcodebuild:
Xcodebuild Environment
Use--xcodebuild-env to set environment variables for the build:
Combining Options
All options can be combined in any order:Legacy Local Settings
Create.flowdeck/app-launch-settings.json in your project root for settings that apply automatically:
Prefer
.flowdeck/config.json or .flowdeck/config.local.json for new setup. Keep .flowdeck/app-launch-settings.json only when you need compatibility with older workflows.Structure
| Field | Type | Description |
|---|---|---|
args | array | Arguments passed to the app at launch |
env | object | Environment variables set for the app process |
Config File
Include app launch settings in your--config JSON file:
--config uses the explicit command config format, which is separate from .flowdeck/config.json and .flowdeck/config.local.json. See Configuration File for the difference.Priority and Merging
When settings come from multiple sources, they’re combined in this order:- Config file (lowest priority) - base configuration
- Local app-launch-settings.json - compatibility override for current CLI auto-load behavior
- CLI options (highest priority) - overrides everything
The canonical shared project-settings format is
appLaunch inside .flowdeck/config.json or .flowdeck/config.local.json. The separate app-launch-settings.json file remains a legacy compatibility input.Common Arguments Reference
Apple System Arguments
| Argument | Description |
|---|---|
-AppleLanguages (en) | Force app language to English |
-AppleLanguages (es) | Force app language to Spanish |
-AppleLocale en_US | Force locale to US English |
-AppleTextDirection | Override text direction (LTR/RTL) |
-NSDoubleLocalizedStrings YES | Double all localized strings (find truncation issues) |
-NSShowNonLocalizedStrings YES | Highlight non-localized strings |
Common App Flags
| Argument | Description |
|---|---|
-SkipOnboarding | Skip onboarding flow (if your app supports it) |
-UITestingDisabled NO | Enable/disable UI testing mode |
-FIRAnalyticsDebugEnabled | Enable Firebase Analytics debug mode |
-FIRDebugEnabled | Enable Firebase debug mode |
UserDefaults Style
You can pass any UserDefaults value:Environment Variables
Set environment variables for the app process:Use Cases
Skip Onboarding During Development
Skip Onboarding During Development
Test Different Locales
Test Different Locales
Staging API Environment
Staging API Environment
Debug Firebase
Debug Firebase
Find Localization Issues
Find Localization Issues
Full Development Setup
Full Development Setup
CI Build with Coverage
CI Build with Coverage
Troubleshooting
Arguments Not Taking Effect
-
Check the source - Make sure your JSON is valid:
- Verify priority - CLI options override local settings which override config file
-
Check your app - Your app must read these values:
Values Starting with Dash
Use= syntax when values start with -:
