NISessionDelegate: didInvalidateWith error

Hi,

My sample work fine with 2 sessions on simulators, but don't work between 2 devices (iPhone 11 Pro and iPhone 13 Pro), or one device and one simulator. (iOS 14)

I get didInvalidateWith Error (Domain=com.apple.NearbyInteraction Code=-5884). I re-tried with new session on error, but don't work.

Any suggestion? Thanks

NISessionDelegate: didInvalidateWith error
 
 
Q