Wi-Fi Aware Building peer-to-peer app samsple app Error

when i am running this app on Iphone13 facing these errors

On starting Publisher: failed(-11992: Wi-Fi Aware)

[L1 ready, local endpoint: <NULL>, parameters: udp, traffic class: 700, interface: nan0, local: ::.0, definite, attribution: developer, server, port: 65041, path satisfied (Path is satisfied), interface: nan0[802.11], ipv4, uses wifi, LQM: unknown, service: com.example.apple-samplecode.Wi-FiAwareSample94KV3E626L._sat-fileservice._udp scope:0 route:0 custom:107]: waiting(POSIXErrorCode(rawValue: 50): Network is down) [L1 cancelled, local endpoint: <NULL>, parameters: udp, traffic class: 700, interface: nan0, local: ::.0, definite, attribution: developer, server, port: 65041, path <NULL>, service: com.example.apple-samplecode.Wi-FiAwareSample94KV3E626L._sat-fileservice._udp scope:0 route:0 custom:107]: ready [L1 cancelled, local endpoint: <NULL>, parameters: udp, traffic class: 700, interface: nan0, local: ::.0, definite, attribution: developer, server, port: 65041, path <NULL>, service: com.example.apple-samplecode.Wi-FiAwareSample94KV3E626L._sat-fileservice._udp scope:0 route:0 custom:107]: failed(-11992: Wi-Fi Aware)

OnStarting Subscriber : -11992: Wi-Fi Aware

ready: failed(-11992: Wi-Fi Aware)

Answered by DTS Engineer in 850689022
i am trying it with android phone

OK. So if you run the sample as is — between two iOS 26 beta iPhones — it works as expected, right?

Anyway, regarding non-Apple devices, I have some hints in this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Network framework reports errors via the NWError type. In iOS 26.0 beta we added a new case to that type, wifiAware(_:), which holds Wi-Fi Aware errors. The -11992: Wi-Fi Aware text in your log is the text rendering of such an error.

The mapping between the error code, -11992, to the errors used by Wi-Fi Aware, the WAError type, is non-obvious, but there’s a tricky way to work this out, namely:

let nw = NWError.wifiAware(-11992)
print(nw.wifiAware)
// Optional(WiFiAware.WAError.noPairedDevices(…))

The docs for the .noPairedDevices(…) error say it indicates “your app doesn’t have access to any paired devices”.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Seems like error is correct , because i did not paired it with any device ,

i am trying it with android phone , but both are not discoverable to each other. over NAN , i kept same service name in both iphone and Android , iphone should display all available nan services

i am trying it with android phone

OK. So if you run the sample as is — between two iOS 26 beta iPhones — it works as expected, right?

Anyway, regarding non-Apple devices, I have some hints in this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@DTS Engineer i seen the thread you mentioned seems like android and iphone has started pairing , so when this new working version will be released ? , which android devices we should use , to see this working ,

Wi-Fi Aware Building peer-to-peer app samsple app Error
 
 
Q