Bug 141083 - Cannot attach Web Inspector to MobileSafari running in the simulator with built iOS WebKit
Summary: Cannot attach Web Inspector to MobileSafari running in the simulator with bui...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: InspectorDebug
  Show dependency treegraph
 
Reported: 2015-01-30 08:56 PST by Brian Burg
Modified: 2017-01-18 23:39 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2015-01-30 08:56:42 PST
Stock Safari (8.0.2) seems unable to attach to MobileSafari when launched via Tools/Scripts/run-safari --ios-simulator. Nothing shows up underneath "Develop > iOS Simulator > [No Inspectable Applications]". I checked Safari preferences in the simulator, and Web Inspector is definitely enabled.

Repro steps:

1. Tools/Scripts/build-webkit --ios-simulator
2. Tools/Scripts/run-safari --ios-simulator
3. Verify in simulator "Web Inspector" setting is enabled through System Preferences app.
3. Open System Safari
4. Try to attach, find nothing.
Comment 1 Joseph Pecoraro 2015-02-02 12:02:46 PST
My guess is this is because webinspectord supports WebContentProcess if it has a private entitlement (which won't be the case in public builds). On OS X we had to fallback to a different approach, we may have to do that here.
Comment 2 Radar WebKit Bug Importer 2015-02-02 12:03:03 PST
<rdar://problem/19687990>