yagiz / Bagel

a little native network debugging tool for iOS
Apache License 2.0
4.35k stars 317 forks source link

[iOS 13] fixed a issue that the signature of __NSCFURLLocalSessionConnection changed #56

Closed ShotaKashihara closed 4 years ago

ShotaKashihara commented 4 years ago

First, thanks for the awesome tool!

I figured the response code are not showing up in the iOS 13 device, this pull request fixes the issue!

Changes in iOS 13

// iOS 12
- (void)_didReceiveResponse:(id)arg1 sniff:(_Bool)arg2;
// iOS 13
- (void)_didReceiveResponse:(id)arg1 sniff:(_Bool)arg2 rewrite:(_Bool)arg3;