Apparently Apple is moving back on it's strategy, and for privacy reasons is removing Bonjour stuff from the OS core.
That's a very odd way to put things. Bonjour has always been about advertising services, not devices. iOS has no services to advertise by default, and thus it does not appear to Bonjour. This is expected behaviour.
OTOH, if you register a Bonjour service from within an app that you run on the device, it shows up in Bonjour just fine.
Remember that the goal of Bonjour is to help users connect to services, not to provide a network management protocol.
1) To be sure I have understood everything right, and if it is realy impossible to discover iDevices with bonjour ?
Correct.
2) To know any other way to discover an iDevice and more generaly a Smartphone connected on the local WiFi network.
In general there's no good way to do this. You can ping every IP address but...
3) To know how to ping a iDevice when it is in sleep mode, all my ping requests fail 30 seconds after the iDevice enters in sleep mode.
To start, be aware that there's a difference between "screen lock" (what most users call sleep) and "device sleep" (when the main CPU actually shuts down, as it does on a MacBook when you close the lid). Locking the screen does not necessarily sleep the device, as the CPU may remain awake to handle various tasks (for example, music playback). The following discussion uses the terminology defined in this paragraph.
The situation with device sleep depends on whether the device has working WWAN or not. If the device has WWAN then it will disassociate from Wi-Fi on device sleep. That's because critical system services (like push notifications) are run over WWAN and thus the device can save power, by disassociating from Wi-Fi, without losing any functionality.
If the device has no working WWAN (either no WWAN or WWAN is disabled for some reason) then it stays associated with Wi-Fi but the main CPU has to program the Wi-Fi chip to tell it what events need to wake up main CPU. I'm not sure whether this programming allows for pings to wake the main CPU, but I expect not.
IMO the best way to find all the devices associated with the Wi-Fi is to ask the access point.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"