- 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 |
| Local Settings | Project-wide defaults | Medium |
| Config File | CI/CD, reproducible builds | Lowest |
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:Local Settings
Create.flowdeck/app-launch-settings.json in your project root for settings that apply automatically:
flowdeck run from that project directory.
Add
.flowdeck/app-launch-settings.json to .gitignore if it contains developer-specific settings, or commit it for team-wide defaults.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:
See Configuration File for complete config file documentation.
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 - overrides config file
- CLI options (highest priority) - overrides everything
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 -:
