XCodeHelper: fix issue where lime test ios -simulator may try to install app on unavailable iOS simulators

This commit is contained in:
Josh Tynjala
2024-11-11 08:50:32 -08:00
parent 051f4d5f00
commit 35d23c6ced

View File

@@ -60,7 +60,11 @@ class XCodeHelper
{
if (StringTools.startsWith(line, "--"))
{
if (line.indexOf("iOS") > -1)
if (line.indexOf("Unavailable") > -1)
{
foundSection = false;
}
else if (line.indexOf("iOS") > -1)
{
foundSection = true;
}