Add a workspace for this. Add generate_plist.swift with correct usage of NSPropertyListSerialization and NSFileManager to write a file.