For ports without a local inspector meaning you can't open a web inspector directly there are stubs that can be shared.
Created attachment 387731 [details] Patch
Created attachment 387733 [details] Patch
Created attachment 387742 [details] Patch
There's a bunch of stuff under Mac directories that isn't necessarily guarded by PLATFORM(MAC) and is still in SourcesCocoa.txt but overall I think this should be fine with iOS.
Comment on attachment 387742 [details] Patch Clearing flags on attachment: 387742 Committed r254627: <https://trac.webkit.org/changeset/254627>
All reviewed patches have been landed. Closing bug.
<rdar://problem/58614689>