You can generate Swift source code of enum with associated values which complies with SE-0295.
$ swift run se0295 <file>
$ swift run se0295 Example
generate: Command-SE0295.gen.swift
App
: Command Line Tool implementation.
CodeGenerator
: Generator.
Set environment variable.
OS_ACTIVITY_DT_MODE = NO
OS_ACTIVIYT_DT_MODE
suppress following message.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc for reading: Too many levels of symbolic links