From d6cbda76b6b91410ea5b78c413ab2989a3c6c152 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Wed, 18 Jan 2023 18:55:04 +0100 Subject: [PATCH] [tools] Enable the PushToTalk framework in the simulator. (#17274) Apple provides the headers to target PushToTalk (so using PushToTalk in code builds just fine for the simulator in Xcode), but it doesn't work at runtime. I believe it's better to allow the same thing in our bindings, for two reasons: * Apple prints out a helpful error message at runtime, instead of our rather incomprehensible build error. * Apple might implement simulator support in the future, in which case we won't need to do anything else. --- tools/common/Frameworks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs index aa1472fee112..b73f53206883 100644 --- a/tools/common/Frameworks.cs +++ b/tools/common/Frameworks.cs @@ -454,7 +454,7 @@ public static Frameworks CreateiOSFrameworks (bool is_simulator_build) { "AVRouting", "AVRouting", 16,0}, { "BackgroundAssets", "BackgroundAssets", 16,0}, - { "PushToTalk", "PushToTalk", new Version (16,0), NotAvailableInSimulator}, + { "PushToTalk", "PushToTalk", new Version (16,0), new Version (16, 2) /* available to build with, although it's unusable */}, { "SharedWithYou", "SharedWithYou", 16, 0 }, { "SharedWithYouCore", "SharedWithYouCore", 16, 0 },