<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>216783</bug_id>
          
          <creation_ts>2020-09-21 08:41:17 -0700</creation_ts>
          <short_desc>run-safari --debug not working: InjectedBundle::load failed - Could not load the executable from the bundle.</short_desc>
          <delta_ts>2022-11-14 03:32:32 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=226560</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=189234</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Caceres">marcos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bburg</cc>
    
    <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1690316</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">marcos</who>
    <bug_when>2020-09-21 08:41:17 -0700</bug_when>
    <thetext>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 &apos;FileType&apos; of command &apos;save&apos; in suite &apos;Standard Suite&apos;: &apos;saveable file format&apos; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690507</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-21 14:05:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/69326204&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1691401</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2020-09-23 23:45:02 -0700</bug_when>
    <thetext>This error is saying that /Library/Apple/System/Library/StagedFrameworks/Safari/SafariSharedUI.framework/Versions/A/SafariSharedUI  can&apos;t find a symbol in /System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/SafariShared .
11:44
But that doesn&apos;t make much sense because the one is in StagedFrameworks and the other one is in the system framework
11:44
Obviously, Safari 14&apos;s SafariSharedUI can&apos;t depend on Safari 13&apos;s SafariShared framework that came with Catalina

https://webkit.slack.com/archives/CU667RQP7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1815790</commentid>
    <comment_count>3</comment_count>
    <who name="Marcos Caceres">marcos</who>
    <bug_when>2021-11-16 19:32:49 -0800</bug_when>
    <thetext>Seems to be working again...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>