Open LiMaoAtCD opened 4 years ago
In case anyone struggling with it:
NSBonjourServices
<key>NSBonjourServices</key>
<array>
<string>_Bagel._tcp</string>
</array>
NSLocalNetworkUsageDescription
<key>NSLocalNetworkUsageDescription</key>
<string>Network access required</string>
Note that on iOS 14
NSBonjourServices
andNSLocalNetworkUsageDescription
details need to be included in the Info.plist. A -72008 error code will be thrown otherwise and the app will crash due to an infinite loop.