How can I make plist content programatically?
This is my plist content in below, is there a way to make this content with code? instead just having it like as a string? let test = """ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.yourdomain.onstartup</string> <key>LimitLoadToSessionType</key> <string>Aqua</string> <key>Program</key> <string>/Applications/On Startup.app/Contents/MacOS/On Startup</string> <key>RunAtLoad</key> <true/> </dict> </plist> """… Read More How can I make plist content programatically?