yagiz / Bagel

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

iOS14 EXC_BAD_ACCESS #66

Open henryhwluk opened 3 years ago

henryhwluk commented 3 years ago

image

SnowNunu commented 3 years ago

In order to fit iOS14,you need add some key-values to info.plist,such as:

NSBonjourServices _Bagel._tcp

NSLocalNetworkUsageDescription

NSLocalNetworkUsageDescription Network access required
Oleygen commented 3 years ago

Same issue here.

@trc19930224 Tried to add: NSBonjourServices with 1 item: _Bagel._tcp NSLocalNetworkUsageDescription with value "Network access required"

Still crashes

mohpor commented 3 years ago

Not a bad idea to check this out: https://developer.apple.com/news/?id=0oi77447

Erumaru commented 3 years ago

same here

henryhwluk commented 3 years ago

has been solved and dispatch it in the main thread

Rylaa commented 3 years ago

how can i fix this crash?

aarashgoodarzi commented 3 years ago

i suggest to use this tool instead: https://github.com/pmusolino/Wormholy just needs to shake your device to show your traffic

NghiaTranUIT commented 3 years ago

There is an alternative that fully supports iOS 14, macOS, Catalyst, and TVOS. Check out Atlantis (https://github.com/ProxymanApp/atlantis)

vladburlaciuc commented 3 years ago

dispatch_async(dispatch_get_main_queue(), ^{ [self.serviceBrowser searchForServicesOfType:self.configuration.netserviceType inDomain:self.configuration.netserviceDomain]; });

aarashgoodarzi commented 3 years ago

There is an alternative that fully supports iOS 14, macOS, Catalyst, and TVOS. Check out Atlantis (https://github.com/ProxymanApp/atlantis)

great alternative! thanks

Davidxiaoshuo commented 3 years ago

In order to fit iOS14,you need add some key-values to info.plist,such as:

NSBonjourServices

_Bagel._tcp

NSLocalNetworkUsageDescription

NSLocalNetworkUsageDescription Network access required

<key>NSLocalNetworkUsageDescription</key>
<string>Network access required.</string>
 <key>NSBonjourServices</key>
<array>
    <string>_Bagel._tcp</string>
</array>