Contents

environment

The set of environment variables to set in a new app instance.

Declaration

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

Discussion

The default value of this property is an empty dictionary. When launching a new instance of an app, use this property to specify the key/value pairs for any environment variables.

If the calling process is sandboxed, the system ignores the value of this property.

See Also

Specifying launch attributes