---
title: launchArguments
framework: xcuiautomation
role: symbol
role_heading: Instance Property
path: xcuiautomation/xcuiapplication/launcharguments
---

# launchArguments

The arguments that pass to the application on launch.

## Declaration

```swift
var launchArguments: [String] { get set }
```

## Discussion

Discussion If not modified, these are the arguments that Xcode passes to the application on launch. You can change, add to, or remove the arguments. Unlike with Process, you can also modify these arguments after the application launches. Such changes don’t affect the current launch session, but do take effect the next time the application launches.

## See Also

### Launching the application

- [launch()](xcuiautomation/xcuiapplication/launch().md)
- [launchEnvironment](xcuiautomation/xcuiapplication/launchenvironment.md)
- [open(_:)](xcuiautomation/xcuiapplication/open(_:).md)
