I have an Apple TV 4k, and I want to pair Xcode with TV in order to install my developing app.
According to this answer, I can pair them on my home network. However, I can't pair them on my company's network. I suppose that the pairing procedure is through MDNS protocol. But our company's network use whitelist strategy for MDNS service IDs. So I don't know what service ID(s) is used for pairing.
Can you tell me how to setup network to make pairing work?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
What I want?
I expect to use xcrun devicectl device process launch --device <uuid> <bundle-identifier> --payload-url <URL> to launch my app and pass the specified URL as I usually do in iPhone.
What I do?
Let's say the app A which I'm developing.
I try to use UIApplication.open(:options:completionHandler:) in another app to open the app A with registered schema. And whether app A is cold launch or background resumption, app A can go foreground with receiving URL.
If I use xcrun devicectl as above described, app A can still be opened. However, app A can't receive URL which I pass through --payload-url option. That's different from in iOS.
BTW: I as well try YouTube with UIApplication.open and xcrun devicectl, the former way work, the latter way not work.
Topic:
Developer Tools & Services
SubTopic:
Xcode