From 3765c486ef57001d4e313782bf16a69b6988da33 Mon Sep 17 00:00:00 2001
From: Jarol Rodriguez <jarolrod@tutanota.com>
Date: Sat, 4 Sep 2021 18:44:39 -0400
Subject: [PATCH] qt: fix bitcoin-qt app categorization on apple silicon

On master, the deployed bitcoin-qt application is categorized as an IOS application.
This is obviously incorrect, and the built executable is not an IOS executable.
To fix this, we set the CFBundleSupportedPlatforms key in our info.plist
---
 share/qt/Info.plist.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/share/qt/Info.plist.in b/share/qt/Info.plist.in
index da10dbb3be1..23bb244439d 100644
--- a/share/qt/Info.plist.in
+++ b/share/qt/Info.plist.in
@@ -16,6 +16,11 @@
   <key>CFBundlePackageType</key>
   <string>APPL</string>
 
+  <key>CFBundleSupportedPlatforms</key>
+  <array>
+	   <string>MacOSX</string>
+  </array>
+
   <key>NSHumanReadableCopyright</key>
   <string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_BUILD@, Copyright © 2009-@COPYRIGHT_YEAR@ @COPYRIGHT_HOLDERS_FINAL@</string>