Changeset 240455 in webkit
- Timestamp:
- Jan 24, 2019 4:35:19 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r240453 r240455 1 2019-01-24 Jonathan Bedard <jbedard@apple.com> 2 3 [webkitdirs] iosSimulatorApplicationsPath may not have iOS.simruntime in its path 4 https://bugs.webkit.org/show_bug.cgi?id=193787 5 <rdar://problem/47497634> 6 7 Reviewed by Alexey Proskuryakov. 8 9 * Scripts/webkitdirs.pm: 10 (iosSimulatorApplicationsPath): Pick from available runtime directories. 11 1 12 2019-01-24 Truitt Savell <tsavell@apple.com> 2 13 -
trunk/Tools/Scripts/webkitdirs.pm
r238025 r240455 2505 2505 sub iosSimulatorApplicationsPath() 2506 2506 { 2507 my $iphoneOSPlatformPath = sdkPlatformDirectory("iphoneos"); 2508 return File::Spec->catdir($iphoneOSPlatformPath, "Developer", "Library", "CoreSimulator", "Profiles", "Runtimes", "iOS.simruntime", "Contents", "Resources", "RuntimeRoot", "Applications"); 2507 # FIXME: We should ask simctl for this information, instead of guessing from available runtimes. 2508 my $runtimePath = File::Spec->catdir(sdkPlatformDirectory("iphoneos"), "Developer", "Library", "CoreSimulator", "Profiles", "Runtimes"); 2509 opendir(RUNTIMES, $runtimePath); 2510 my @runtimes = grep {/.*\.simruntime/} readdir(RUNTIMES); 2511 close(RUNTIMES); 2512 my $sult = File::Spec->catdir($runtimePath, @runtimes ? $runtimes[0] : "iOS.simruntime", "Contents", "Resources", "RuntimeRoot", "Applications"); 2513 return $sult; 2509 2514 } 2510 2515
Note: See TracChangeset
for help on using the changeset viewer.