RESOLVED FIXED 207394
run-safari Doesn't work with the latest Xcode version and iOS
https://bugs.webkit.org/show_bug.cgi?id=207394
Summary run-safari Doesn't work with the latest Xcode version and iOS
Jonathan Bedard
Reported 2020-02-07 10:33:40 PST
At the moment, run-safari doesn't work with the latest Xcode version and iOS.
Attachments
Patch (2.33 KB, patch)
2020-02-07 10:57 PST, Jonathan Bedard
no flags
Jonathan Bedard
Comment 1 2020-02-07 10:57:55 PST
Jonathan Bedard
Comment 2 2020-02-07 10:59:48 PST
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.
Ryosuke Niwa
Comment 3 2020-02-07 12:23:40 PST
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.
Jonathan Bedard
Comment 4 2020-02-07 13:01:15 PST
(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.
WebKit Commit Bot
Comment 5 2020-02-07 14:00:08 PST
Comment on attachment 390106 [details] Patch Clearing flags on attachment: 390106 Committed r256059: <https://trac.webkit.org/changeset/256059>
WebKit Commit Bot
Comment 6 2020-02-07 14:00:10 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2020-02-07 14:01:13 PST
Niklas Merz
Comment 8 2020-02-09 23:30:23 PST
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?
Note You need to log in before you can comment on or make changes to this bug.