Post

Replies

Boosts

Views

Activity

MultipeerConnectivityFramework not working due to new privacy setting
I was using MCFramework with no problem but now that Im building with Xcode 12 and iOS 14, when I try to start advertising Im getting a 72008 NSNetServicesErrorCode. I search the error and it says that Im missing the Local Network Usage Description. I've already added the Local Network Usage Description in my plist and I don't know what should I add in Bonjour Services key (Documentation is not clear when using Multipeer framework). Also the method browser(_ browser: MCNearbyServiceBrowser, didNotStartBrowsingForPeers error: Error) is marked as optional but If I don't implement it my app crashes.
4
0
2.4k
Sep ’20