Bonjour screen mirror service not listing with iOS 11

Hi All,

I am using NetService with "_airplay._tcp" for publishing AirPlay Mirroring service with iOS 9 and 10.

I was able to publish and it was listed in AirPlay Mirroring list with iOS 9 and 10 but there is an issue with iOS 11.


In iOS 11, Service was publishing correctly without any error but not listed in AirPlay Mirroring list.

Also others apps like "Discovery Bonjour Browsers" list my AirPlay Mirroring service.

It will be great if someone can guide me to solve this problem.

Thanks in advance.

I’m not sure I understand what you’re doing here, so let me restate that just to confirm:

  • You’re publishing an AirPlay service (

    _airplay._tcp.
    )
  • That service works with iOS 9 and 10 clients

  • It does not work with iOS 11 clients

  • The specific symptoms are that iOS 11 doesn’t show your service in the standard AirPlay screen mirroring

Is that right?

If so it’s not something I can help you with. The on-the-wire protocol used by AirPlay is not documented for general third-party use.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I have the very same problem (https://forums.developer.apple.com/message/285050#285050) and just found this post. Isn't there any workaround we can do here?


Our airplay device will be discovered and listed automatically by the system when Bluetooth discovery is activated. Maybe there's a way to do the same like the BT discovery?


What's the reason for the NetService.publish command not to work, but executing without any errors?

Could this help (configuring airport utility)


h ttps://forums.developer.apple.com/thread/94209

Isn't there any workaround we can do here?

There may be, but this isn’t the right place to ask for that sort of help. As I mentioned earlier, the on-the-wire protocol used by AirPlay is not documented for third-party use. That includes both the service discovery part and the transport part. Implementing undocumented protocols is like using private APIs: Apple makes no compatibility guarantees, meaning that things can just break as the system evolves (and there has been big changes to AirPlay on iOS 11, namely, AirPlay 2).

I’m sorry I don’t have better news for you here.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Bonjour screen mirror service not listing with iOS 11
 
 
Q