tvOS is the operating system for Apple TV.

tvOS Documentation

Posts under tvOS tag

158 Posts
Sort by:
Post not yet marked as solved
3 Replies
1k Views
Is there a way to multiselect a variety of airplay 2 speakers as the default speakers for the apple tv (gen4 4k). I have also tried aggregating them in the home app under one labeled system, however the apple tv does not seem to recognize the speaker group (Sonos arc, two ones, and sub grouped together, and two homepod minis).
Posted
by
Post not yet marked as solved
3 Replies
454 Views
I'm working on a tvOS app/library which uses SSDP. The code binds a UDP socket to port 1900 and joins a multicast group using BSD Socket library. I believe this used to work on a previous tvOS version, but specifically as of tvOS 14.6 there is a divergence between the tvOS Simulator and actual devices. Actual devices fail at the call to bind, with an Address Already in Use error. The tvOS simulator binds just fine after throwing up a macOS firewall 'allow incoming connections' dialog. Any ideas what the official situation is here? The com.apple.developer.networking.multicast entitlement seems to be iOS only at this time, is that correct? Also there seems to be no 'local networking' permission dialog in tvOS - is that also correct?
Posted
by
Post not yet marked as solved
0 Replies
271 Views
I have a Apple TV 4k 1gen on tvOS 14.6 can’t connect to Xcode 10.2.1… does it matter what version of Xcode I’m on?? It see but when I try to connect and put pass code in it fails… need help thanks
Posted
by
Post not yet marked as solved
0 Replies
294 Views
Hi, New to the forum, trying to understand the feasibility of creating an app. I would like to modify the image of the HDMI output. Specifically I would like to crop, scale or warp the image stream to get it to better fit as input to my projector. Will the tvOS SDK allow me to do this in realtime?
Posted
by
Post not yet marked as solved
3 Replies
638 Views
I have a really simple app where I am trying to scroll full page between images. However the if I use a LazyHStack the scrolling stops working if a child item is full screen. LazyVStack has the same issue if the content is full screen then scrolling stops working. Normal stacks work but that defeats the purpose since all items have to load. Oh this need to scroll horizontally. Code is so: struct ContentView: View {     var body: some View {         GeometryReader { geometry in             ScrollView(.horizontal) {                 LazyHStack {                     ForEach(1...50, id: \.self) { index in                         Button(action: {}){ Text("\(index)")}                             .frame(width: geometry.size.width, height: geometry.size.height)                     }                 }             }         }         .ignoresSafeArea()     } }
Posted
by
Post not yet marked as solved
0 Replies
392 Views
I have a video player application and while playing an HLS video on AVPlayer, I noticed that the muxed VTT subtitles are not showing up at the correct time. For example, using AVPlayerItemLegibleOutput I can see that a text that was supposed to show at 24:37.107 is actually displaying at 24:36.406. What I would like to know is if there's anything that I can do to identify why that is happening and what would cause AVPlayer to lose sync for the embedded captions.
Posted
by
Post marked as solved
1 Replies
811 Views
Hi, I built a SwiftUI app using Xcode 13.0 beta (13A5155e) that runs on an Apple TV 4K running tvos 15.0 beta (19J5314e). This was all fine for the past few weeks, but today, when running the very same app again that was installed by Xcode yesterday, it didn't start anymore and crashed instantly. A few ours ago, it ran just fine and nothing has changed since then and the Apple TV was not restarted. I then tried to run the app through Xcode and got: dyld[817]: Symbol not found: _$ss12TaskPriorityVMa Referenced from: /private/var/containers/Bundle/Application/0AFBBAAB-E85B-452D-8022-724011D49354/appletv.app/appletv Expected in: /usr/lib/swift/libswift_Concurrency.dylib Symbol not found: _$ss12TaskPriorityVMa Referenced from: /private/var/containers/Bundle/Application/0AFBBAAB-E85B-452D-8022-724011D49354/appletv.app/appletv Expected in: /usr/lib/swift/libswift_Concurrency.dylib dyld`__abort_with_payload: 0x1008c7eb8 <+0>: mov x16, #0x209 0x1008c7ebc <+4>: svc #0x80 -> 0x1008c7ec0 <+8>: b.lo 0x1008c7edc ; <+36> 0x1008c7ec4 <+12>: stp x29, x30, [sp, #-0x10]! 0x1008c7ec8 <+16>: mov x29, sp 0x1008c7ecc <+20>: bl 0x1008c63fc ; cerror_nocancel 0x1008c7ed0 <+24>: mov sp, x29 0x1008c7ed4 <+28>: ldp x29, x30, [sp], #0x10 0x1008c7ed8 <+32>: ret 0x1008c7edc <+36>: ret I can still run the app on an emulator without issues, so something about this Apple TV is broken. I also tried resetting it to factory defaults which didn't help. It's probably worth noting, that the first thing Xcode did today when trying to run the app on the device was waiting for symbols to be downloaded, which took forever, so I re-paired the Apple TV to fix this. Any idea how I can continue testing my app on this Apple TV without buying a new one? ;)
Posted
by
Post not yet marked as solved
0 Replies
401 Views
Hi, I am trying to implement Sign In with Apple in Apple TV. The moment I click on "Sign In", I get a screen that says "A notification has been sent to nearby devices that are signed in with apple Id". However, when notification arrives in my iPhone, nothing happens on click of notification. In some days before, it worked, I can sign in with my Apple ID when tap on that notification, but now, the notification just disappeared and nothing happened Any suggestion or solution would be of great help. Thanks.
Posted
by
Post not yet marked as solved
0 Replies
348 Views
Recently, I'm trying to implement Sign In with Apple feature in tvOS. But I get something weird. When I press on Sign In button, I get a screen that says "A notification has been sent to nearby devices that are signed in with my Apple ID". And I get a notification to my iPhone to login Apple ID. I used some Apple ID accounts to log in and all of them worked. But some days later, when I tap on notification, it just disappear and nothing happen, no error, no callback. I searched this problem but I cannot see any help. I just want to know why this happened? Is it a bug of Apple currently? Can anyone implement Sign In with Apple in tvOS14 and tell me what happen? Does anyone know any apps are using Sign In with Apple in tvOS? Will Apple reject my tvOS app if I use third-party authentication but not include Sign In with Apple? I must make my app available to Apple store soon but I cannot make this done.
Posted
by
Post not yet marked as solved
0 Replies
286 Views
I work at the Gaumont International marketing department. Nice to meet you !    I am sorry to bother you but I do not know to whom I should address this request and I was thinking that maybe you should forward my email to the person in charge.    Here it the situation: there is a short film currently available on the Apple TV and also being sold on Itunes at 2,99 € named Aline.  As you may know Gaumont as a new coming project also named Aline (by Valerie Lemercier).  And the thing is that currently on the Apple Tv there is all the cast & crew information of the Lemercier’s project that are filled in for the short film.  See on the below:  https://tv.apple.com/us/movie/aline-2019/umc.cmc.2qmbdrq44n08zerciknmyyd31?action=play     Do you know to whom I should ask to make the modification of the information?    Thank you very much in advance for your help !    Kind regards, Marie
Posted
by
Post not yet marked as solved
0 Replies
464 Views
My Apple TV 4K-2 has the developer HUD enabled. I am unable to turn it off wirelessly. The Developer option has disappeared from Settings on the Apple TV so I can't turn off the Developer HUD. Xcode 12.5.1 discovery sees the device and says that it needs to be paired. Apple TV remote App and Devices says that is already paired. I pair it again in XCode. The device shows as paired on the Apple TV, but Xcode still just gives me the "Pair with ..." message. Same thing if I remove the existing pairing and try it again. Did a restart on the Apple TV but it changed nothing. Don't want to do a reset as there are a lot of settings that would be lost.
Posted
by
Post not yet marked as solved
0 Replies
368 Views
These episodes completely break the way Watch Now works. Are there plans to allow a user to configure the AppleTV app to Ignore these "special episodes" within Watch Now? This seems to be a very simple but VERY impactful change to the way this app functions.
Posted
by
Post not yet marked as solved
0 Replies
245 Views
This is very much a broad question as i don't know enough yet. Is it feasible to get two or more aTV to sync together in terms of playback. So 3 of them and 3 screens with a left, right and centre movie playing? I don't know how accurate the starting of playback can be, nor whether the internal clocks can be accurately synced together or whether it could even read external sync over a network for example. If there are any resources, thoughts or articles of interest I'd really appreciate some pointers and how to start this deep dive?
Posted
by
Post not yet marked as solved
0 Replies
276 Views
Hello, I'm trying to build a tvOS app and I'm having issues using SplitViewController inside a Tab Bar Controller. The app is built with Swift and UIKit and uses Storyboards. Main interface is a fullscreen view that plays some live video stream. User can open a menu, which is a Tab Bar Controller that overlays the video. Now, I want one of this Tabs (a Settings screen) to contain a SplitViewController so that I can have another menu on the left for various categories of settings. So I have dragged a SplitViewController in my storyboard. It displays well in the Interface Builder, with a Master view on the left side and the Detailed view on the right side. However, as soon as I Ctrl-drag from my TabBarViewController to the SplitViewController in order to add the relationship segue that will make this SplitViewController a new tab inside my TabBarController, then the MasterViewController inside the SplitViewController disappears and the Detailed view takes the entire space. When I run the app on a device, I do see the same thing. I can't see the left master view. I can't figure out why, any help would be appreciated.
Posted
by
Post not yet marked as solved
0 Replies
384 Views
Hi, We have a narrowcasting app that runs for long periods at a time on TvOS 14.4 without issues, however after updating the apple 4k tv to 14.6 or 14.7 the apple tv 'crashes' before 24 hours. This problem doesn't occur on a full HD apple tv. The crashes aren't logged in our crash logging system (Sentry) So we don't think the App crashes it. We suspect the app gets closed by the apple tv after a certain amount of time. Are there any changes in TvOS 14.5/14.6/14.7 that could be related to this issue?
Posted
by
Post not yet marked as solved
0 Replies
340 Views
Since Apple TV can pair with a universal remote, the siri remote and the new 2021 siri remote that has the dpad on it, we need a way to distinguish between each unique remotes. Are there APIs for getting the details of the remote being used in tvOS? Reason for this is we want to handle separate logics in using the old vs new siri remote.
Posted
by