At the moment, run-safari doesn't work with the latest Xcode version and iOS.
Created attachment 390106 [details] Patch
Not convinced this solution is the for fix Niklas's bug, but it is definitely one of the problems with the current code. We really need to replace run-safari with a Python script that actually knows how to interact with the simulator.
Yeah, this seems to be unrelated to his issue. I think his issue that it can’t find NSDictionary Perl package. Maybe some Apple internal package creeped into WebKit repo? Or maybe it got removed from public SDK but not from internal SDK.
(In reply to Ryosuke Niwa from comment #3) > Yeah, this seems to be unrelated to his issue. I think his issue that it > can’t find NSDictionary Perl package. Maybe some Apple internal package > creeped into WebKit repo? Or maybe it got removed from public SDK but not > from internal SDK. I have a few customer installs and couldn't reproduce the issue, the only thing I can think of is fresh install vs update install.
Comment on attachment 390106 [details] Patch Clearing flags on attachment: 390106 Committed r256059: <https://trac.webkit.org/changeset/256059>
All reviewed patches have been landed. Closing bug.
<rdar://problem/59272677>
Yes this did not solve my problem. I did an update and got the same error again: ❯ Tools/Scripts/run-safari --ios-simulator --debug Can't locate object method "dictionaryWithContentsOfFile_" via package "NSDictionary" (perhaps you forgot to load "NSDictionary"?) at /Users/niklasmerz/Documents/WebkitSVN/Tools/Scripts/webkitdirs.pm line 1527. I have no experience with Perl, but I did one attempt with no success: ❯ cpanm Mac::Tie::PList --> Working on Mac::Tie::PList Fetching http://www.cpan.org/authors/id/G/GB/GBROCK/Mac-Tie-PList-0.03.tar.gz ... OK Configuring Mac-Tie-PList-0.03 ... OK ==> Found dependencies: Foundation ! Finding Foundation on cpanmetadb failed. ! Finding Foundation (1) on metacpan failed. ! Finding Foundation (1) on mirror http://www.cpan.org failed. ! Couldn't find module or a distribution Foundation (1) ! Installing the dependencies failed: Module 'Foundation' is not installed ! Bailing out the installation for Mac-Tie-PList-0.03. I searched for the Perl module for NSDictionary and found this one https://metacpan.org/pod/Mac::Tie::PList but I cannot install it. Can I create more info? Should a create a new bug?