Instance Property

launchEnvironment

The environment variables that will be passed to the application on launch.

Declaration

var launchEnvironment: [String : String] { get set }

Discussion

If not modified, these are the environment variables that Xcode will pass to the application on launch. The environment variables can be changed, added to, or removed. Unlike Process, it is also legal to modify the environment variables after the application has been launched. Such changes will not affect the current launch session, but will take effect the next time the application is launched.

See Also

Launching the Application

func launch()

Launches the application.

var launchArguments: [String]

The arguments that will be passed to the application on launch.