- Skipping onboarding flows during development
- Setting debug flags
- Configuring API environments
- Testing different locales
Platform Support
Bothargs and env are honored on every launch target:
Methods Overview
When multiple sources provide settings, they’re merged with CLI taking highest priority.
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
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
Common App Flags
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 -:
