Title: [250400] trunk/Tools
Revision
250400
Author
[email protected]
Date
2019-09-26 14:54:31 -0700 (Thu, 26 Sep 2019)

Log Message

run-safari --ios-simulator is no longer working with Xcode 11
https://bugs.webkit.org/show_bug.cgi?id=199852

Path of MobileSafari.app has changed in Xcode 11. This patch updates
the run-safari script to use the new path. This removes support for
running Safari on iOS < 13, see discussions on bug 177595.

Patch by Frederic Wang <[email protected]> on 2019-09-26
Reviewed by Jonathan Bedard.

* Scripts/webkitdirs.pm:
(iosSimulatorApplicationsPath):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (250399 => 250400)


--- trunk/Tools/ChangeLog	2019-09-26 21:51:35 UTC (rev 250399)
+++ trunk/Tools/ChangeLog	2019-09-26 21:54:31 UTC (rev 250400)
@@ -1,3 +1,17 @@
+2019-09-26  Frederic Wang  <[email protected]>
+
+        run-safari --ios-simulator is no longer working with Xcode 11
+        https://bugs.webkit.org/show_bug.cgi?id=199852
+
+        Path of MobileSafari.app has changed in Xcode 11. This patch updates
+        the run-safari script to use the new path. This removes support for
+        running Safari on iOS < 13, see discussions on bug 177595.
+
+        Reviewed by Jonathan Bedard.
+
+        * Scripts/webkitdirs.pm:
+        (iosSimulatorApplicationsPath):
+
 2019-09-26  Zhifei Fang  <[email protected]>
 
         [results.webkit.org] Timeline support Image inner label

Modified: trunk/Tools/Scripts/webkitdirs.pm (250399 => 250400)


--- trunk/Tools/Scripts/webkitdirs.pm	2019-09-26 21:51:35 UTC (rev 250399)
+++ trunk/Tools/Scripts/webkitdirs.pm	2019-09-26 21:54:31 UTC (rev 250400)
@@ -2526,7 +2526,7 @@
 sub iosSimulatorApplicationsPath()
 {
     # FIXME: We should ask simctl for this information, instead of guessing from available runtimes.
-    my $runtimePath = File::Spec->catdir(sdkPlatformDirectory("iphoneos"), "Developer", "Library", "CoreSimulator", "Profiles", "Runtimes");
+    my $runtimePath = File::Spec->catdir(sdkPlatformDirectory("iphoneos"), "Library", "Developer", "CoreSimulator", "Profiles", "Runtimes");
     opendir(RUNTIMES, $runtimePath);
     my @runtimes = grep {/.*\.simruntime/} readdir(RUNTIMES);
     close(RUNTIMES);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to