Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
run-safari --ios-simulator is no longer working with Xcode 9
https://bugs.webkit.org/show_bug.cgi?id=177595 Patch by Frederic Wang <fwang@igalia.com> on 2017-10-11 Reviewed by Daniel Bates. In Xcode 9, the path of the simulator application is now in a new CoreSimulator subdirectory of the iphoneOS SDK platform. This patch updates webkitdirs.pm to use the new path in Xcode 9 or higher so that it is possible to run Safari on the iOS simulator again. It also does some minor code refactoring to improve code reuse. * Scripts/configure-xcode-for-ios-development: Move sdkDirectory() and sdkPlatformDirectory() into webkitdirs. (sdkDirectory): Deleted. (sdkPlatformDirectory): Deleted. * Scripts/webkitdirs.pm: Expose new sdkDirectory() and sdkPlatformDirectory(). (sdkDirectory): Moved from configure-xcode-for-ios-development. (sdkPlatformDirectory): Ditto. (XcodeSDKPath): Rely on sdkDirectory() to implement this function. (iosSimulatorApplicationsPath): In Xcode 9 or higher use the new path. It is calculated by relying on sdkPlatformDirectory(). Canonical link: https://commits.webkit.org/194458@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
3 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters