[webkit-dev] ./Tools/Scripts/run-safari doesn't work with Safari 10

Frédéric WANG fred.wang at free.fr
Mon Jul 18 14:02:50 PDT 2016


Hi Marco,

You might want to check
https://trac.webkit.org/wiki/WebKitNightlyElCapWorkaround

In particular "If you want to use run a custom build, instead of using
run-safari (as usual), you'll need to set DYLD_FRAMEWORK_PATH and run
SafariForWebKitDevelopment manually. "

Hope that helps,

Frédéric

Le 18/07/2016 à 22:02, Marco Barisione a écrit :
> Hello,
>
> I recently installed Safari 10 on some machines running 10.11.6 DP. Unfortunately, I cannot get Safari 10 to work with WebKit compiled from SVN.
>
> I tried with both SVN trunk (from today) and the revision tagged in SVN that corresponds to my currently installed Safari (602.1.38.4).
> I compiled Safari with the usual:
>
>   $ ./Tools/Scripts/build-webkit
>
> And then I tried to run Safari with:
>
>   $ ./Tools/Scripts/run-safari
>
> Safari 10 starts, but nothing loads probably because it cannot load its injected bundle. This is the output:
>
> Starting SafariForWebKitDevelopment with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Users/bari/src/webkit/WebKitBuild/Release.
> 2016-07-18 14:18:32.900 SafariForWebKitDevelopment[424:4918] [Keychain] SecItemCopyMatching failed fetching extension list with error -34018
> 2016-07-18 14:18:32.923 SafariForWebKitDevelopment[424:4918] [Keychain] SecItemCopyMatching failed fetching extension list with error -34018
> 2016-07-18 14:18:33.091 com.apple.WebKit.WebContent.Development[425:4983] Error loading /System/Library/StagedFrameworks/Safari/Safari.framework/Safari:  dlopen(/System/Library/StagedFrameworks/Safari/Safari.framework/Safari, 265): Symbol not found: _OBJC_CLASS_$_WBSCompletionListRankingObserver
>   Referenced from: /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
>   Expected in: /System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/SafariShared
>  in /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
> InjectedBundle::load failed - Could not load the executable from the bundle.
>
>
> I’m a bit surprised that I couldn’t find anything about this problem in bugzilla, IRC or on this mailing list.
> Am I doing something wrong or is this a problem with newer Safari? Is there any fix/workaround for this?
>
> Thank you!
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160718/40fdd70b/attachment.sig>


More information about the webkit-dev mailing list