Bug 216783 - run-safari --debug not working: InjectedBundle::load failed - Could not load the executable from the bundle.
Summary: run-safari --debug not working: InjectedBundle::load failed - Could not load ...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-21 08:41 PDT by Marcos Caceres
Modified: 2022-11-14 03:32 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Caceres 2020-09-21 08:41:17 PDT
STR:
  1. build-webkit --debug --use-ccache
  2. run-safari --debug

Errors with:

Starting SafariForWebKitDevelopment with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Users/mcaceres/dev/WebKit/WebKitBuild/Debug.
2020-09-22 01:35:55.959 SafariForWebKitDevelopment[87729:3004631] -[BrowserWKView _setInspectorDelegate:]: unrecognized selector sent to instance 0x7fd9e21f0420
2020-09-22 01:35:55.959 SafariForWebKitDevelopment[87729:3004631] -[BrowserWKView _setInspectorDelegate:]: unrecognized selector sent to instance 0x7fd9e21f0420
2020-09-22 01:35:55.971 SafariForWebKitDevelopment[87729:3004631] .sdef warning for argument 'FileType' of command 'save' in suite 'Standard Suite': 'saveable file format' is not a valid type name.
2020-09-22 01:35:56.017 SafariForWebKitDevelopment[87729:3004631] -[BrowserWKView _setInspectorDelegate:]: unrecognized selector sent to instance 0x7fd9f068cd50
2020-09-22 01:35:56.017 SafariForWebKitDevelopment[87729:3004631] -[BrowserWKView _setInspectorDelegate:]: unrecognized selector sent to instance 0x7fd9f068cd50
2020-09-22 01:35:56.059 SafariForWebKitDevelopment[87729:3004631] -[BrowserWKView _setInspectorDelegate:]: unrecognized selector sent to instance 0x7fd9e2180400
2020-09-22 01:35:56.194 com.apple.WebKit.WebContent.Development[87731:3004757] Error loading /Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Safari:  dlopen(/Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Safari, 265): Symbol not found: _OBJC_CLASS_$_WBSContentBlockerStatisticsSQLiteStore
  Referenced from: /Library/Apple/System/Library/StagedFrameworks/Safari/SafariSharedUI.framework/Versions/A/SafariSharedUI
  Expected in: /System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/SafariShared
 in /Library/Apple/System/Library/StagedFrameworks/Safari/SafariSharedUI.framework/Versions/A/SafariSharedUI
InjectedBundle::load failed - Could not load the executable from the bundle.
Comment 1 Radar WebKit Bug Importer 2020-09-21 14:05:58 PDT
<rdar://problem/69326204>
Comment 2 Ryosuke Niwa 2020-09-23 23:45:02 PDT
This error is saying that /Library/Apple/System/Library/StagedFrameworks/Safari/SafariSharedUI.framework/Versions/A/SafariSharedUI  can't find a symbol in /System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/SafariShared .
11:44
But that doesn't make much sense because the one is in StagedFrameworks and the other one is in the system framework
11:44
Obviously, Safari 14's SafariSharedUI can't depend on Safari 13's SafariShared framework that came with Catalina

https://webkit.slack.com/archives/CU667RQP7
Comment 3 Marcos Caceres 2021-11-16 19:32:49 PST
Seems to be working again...