                                      appVersion: String,
                                      appBuild: String,
                                      additionalDiagnosticContent: String?) -> String {
+        var platform = "iOS"
+        #if targetEnvironment(macCatalyst)
+            platform="macOS"
+        #endif
         let format          = """
         <style>td {padding-right: 20px}</style>
  <p>%@</p><br />
  <table cellspacing=0 cellpadding=0>
  <tr><td>Device:</td><td><b>%@</b></td></tr>
- <tr><td>iOS:</td><td><b>%@</b></td></tr>
+ <tr><td>%@:</td><td><b>%@</b></td></tr>
  <tr><td>App:</td><td><b>%@</b></td></tr>
  <tr><td>Version:</td><td><b>%@</b></td></tr>
  <tr><td>Build:</td><td><b>%@</b></td></tr>

                                       appVersion: String,
                                       appBuild: String,
                                       additionalDiagnosticContent: String?) -> String {
        var content: String
            = String(format: "%@\n\n\nDevice: %@\niOS: %@\nApp: %@\nVersion: %@\nBuild: %@",
                     body,
                     deviceName,
                     systemVersion,
                     appName,
                     appVersion,

        var content: String = String(format: format,
                                     body.replacingOccurrences(of: "\n", with: "<br />"),
                                     deviceName,
                                     platform,
                                     systemVersion,
                                     appName,
                                     appVersion,
