Post not yet marked as solved
When i launch the app from remote, app is crashing.
Xcode: Version 13.4.1 (13F100)
tvOS: tvOS 15.5.1 (19L580)
Swift
My Apple TV app getting crashed on app launch.
No crash report generated by system.
I'm only getting below error in console.
[com.mycompanyname.bundleId] CALLED IMAGE GENERATOR FOR <XBApplicationSnapshot: 0x13bf96090; …A80C7A4D06A6> [com.mycompanyname.bundleId]. This should be considered a last resort, and will likely result in significant blocking of the calling thread! reason: image data requested
Post not yet marked as solved
Hi I'm trying to get mouse pointer capture working with tvOS for game development.
Everything is working fine with latest iPad M1 tablet. However with the same mouse connected to tvOS 4k 2nd gen I just get spammed UIKit event error. Keyboard works fine.
Also I can't connect my Magic Mouse 1st gen to ATV.
Do Magic Mouse 2nd gen work?
What mice are actually supported on tvOS?
I've noticed since beta one on the ATV4k that the audio has stearted curtting out regularly for about 3 seconds and about every 10-15 minutes. It started out being once in a while, now it's regularly across all streaming apps (netflix, amazon, disneynow, nickjr, plex). Submitted a bug report on it awhile ago, haven't heard anything back.
Post not yet marked as solved
I currently have my setup like this: Apple TV 4K -> HDMI -> Denon X2400H -> HDMI -> X930ESo far this behavior only happens with the ATV, but randomly it seems that the TV gets in a funk where the screen for the Apple TV flashes on and off. Almost like a classic HDMI handshake problem. So far the ONLY thing that will fix this is to pull the power on the TV (not even turning off/on will fix it). Once I pull the power on the TV and it reboots, everything is fine again. It may return a day later....2 days later....it's random. It never happens while watching the ATV. It's always either turning the entire chain on or swtiching over from another source (Roku or PS4 for example).I have tried multiple certified cables, none seem to make a difference. I've tried powering off the other devices, that doesn't fix it. I'm thinking this is an Apple TV problem, but the X930E is what is being affected. So far the ATV is the only device that causes this and I haven't found a way to re-produce on my own. But I thinking it's something between the ATV and the Sony that's causing the issue.
On Xcode 13.0, I can no longer pair with an Apple TV 4K (tvOS 15.0). Until now it has always worked but since the new update to tvOS 15.0 and Xcode 13.0 I can no longer connect.
I have gone through the following steps to connect:
Open remote app and devices settings on Apple TV 4K (tvOS 15.0).
Open Devices and Simulators in Xcode 13.0.
Select Apple TV in the list and press "Pair".
Code appears on the Apple TV and I can enter it in an Xcode window.
After the code input, there is a short loading sign that a connection is being established. After a few seconds, the whole thing stops without an error message and the "Pair" button is visible again.
Does anyone have the same problem? I would like to optimize my apps for tvOS 15 and test them on a physical device.
Post not yet marked as solved
So basically we are using custom TabBar and wondering how we gonna handle focus.
As I tried to focusSection but it is not working while going down, Basically we have a horizontal list but it always focuses on 2nd Item rather than the first one.
Post not yet marked as solved
Clicking pair shows a code on the Apple TV. Entering that code displays a progress wheel saying “setting up Apple TV” then instead of the Apple TV being setup “PAIR”shows again allowing you to do the setup over and over without being able to use the Apple TV for development. The device loops on the registration process never allowing it to actually be prepared. This happens on all 4 of my Apple TV 4K Second Generations. I have filed a bug with the feedback assistant. I’m just wondering did anyone find a way to successfully pair / or fix this problem. Without this developing for this platform is nearly impossible. Since the Apple TV’s don’t have a port for direct connection.
I don’t want to factory reset all 4 of my Apple TV’s that all do the same thing. I honestly don’t think that will fix them. This is the exact process I did:
Go to window on Xcode menu bar
Click devices and simulators
Go to Remote App and Devices on Apple TV & select it
In the discovered tap area click my Apple TV
Select Pair
Enter code being displayed on Apple TV
Wait for device to be available for development
Device doesn't display as registered and allows you to do the process over & over
Post not yet marked as solved
When I set adjustsImageWhenAncestorFocussed to true on my UIImageView (inside a collection view cell) it seems that the contentMode setting is forced to ScaleAspectFill as opposed to my desired ScaleAspectFit. Is this a bug or expected? I don't want to have to make a choice between the awesome highlight effect you get for free when enabling the image adjustment on focus, and the scale to fit content mode...
Post not yet marked as solved
We are makers of a tvOS app that is in the App Store for over 5 years now. Recently we were not able to test In-App purchases at all.
Whether it's sandbox or Xcode testing there is always somthing wrong.
This starts at not being able to load products from Xcode. On tvOS 15.x we just get an empty array when loading products from the Xcode configuration file. On tvOS 16 Beta we at least get the products from Sandbox. But that is not what we wanted, since we explitlity configured the schema to connect to Xcode for testing.
Transaction renewals are simply ignored. We are able to purchase a subscription once. Any renewals after that are not broadcast to the update listener and our app has no chance of knowing.
We created a simple test app that runs on both iOS and tvOS. The same simple UI code and StoreKit code. The result speaks for itself: On iOS everything works fine. On tvOS all the above errors are happening.
We tried this with various combinations: Different Xcode version, different development Macs, different Apple TVs, simulators, tvOS version (even Beta), resetting Apple TVs, different sandbox accounts...
So my question is: Did you guys give up on tvOS?
Post not yet marked as solved
Is it possible to open a web url on tvOS and that we can interact with the site?
Post not yet marked as solved
In my application, we have used collection view along with collectionview.reload() in few scenarios. This reload works properly till tvOS 15.2. From 15.3 and above till tvOS 16 beta version, CollectionView scroll issue occurs when I reload the collectionview. After reload it automatically moves to random position.
This automatic scroll issue is happening with the below error which is noted in log console.
Collection view focus state got out of sync. Expected (null) to be the current managed subview but found <MyApp.CollectionViewCell: 0x114517ad0; baseClass = UICollectionViewCell; frame = (0 6532; 270 126); opaque = NO; tintColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x28339ab00>>.
Let me know if anyone can help me out from this issue!!!
Note: This issue is occurring in tvOS 16 beta version also.
Post not yet marked as solved
Hi
I'd like to extend our existing film detail screen on tvOS which is built in Swift UI to behave similar to the film/series detail in the Apple TV app.
When the user opens the screen the watch button just above the fold should be focused but no scrolling should happen.
The user should be able to scroll down to other sections.
When scrolling up and moving the focus back to the watch button scrolling should happen all the way up (not just centering the watch button on the screen).
I tried several things - adding invisible pseudo elements at the top and bottom, redirecting focus with @FocusState, setting focusSection on the container view for the content above the fold, making that container view focusable (and consequently nesting focusable views) and none of them solved all my problems.
My basic layout is like this:
struct SomeSection: View {
var body: some View {
HStack {
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
Rectangle().frame(width: 200, height: 400)
}
.frame(maxWidth: .infinity)
.focusable()
}
}
struct ContentView: View {
var body: some View {
ScrollView {
ZStack {
Image("image")
.frame(width: 1920, height: 1080)
VStack(alignment: .leading) {
Text("TITLE").font(.largeTitle)
Text("We would like to have this ZStack fully visible initially including these texts, also when the two buttons at the bottom are focused. After scrolling down this area will disappear, but should become fully visible again when focus is moved back to the buttons.").font(.body)
Spacer()
HStack(alignment: .bottom) {
Button("firstButton") {
return
}
Button("secondButton") {
return
}
Spacer()
}.padding()
}
.padding()
}
.frame(width: 1920, height: 1080)
SomeSection()
.background(.blue)
SomeSection()
.background(.red)
SomeSection()
.background(.gray)
}
.ignoresSafeArea()
}
}
Post not yet marked as solved
We are developing an Apple Arcade title.
I have a question about data storage on tvOS.
iOS and Mac can use his GKSavedGame, but tvOS cannot.
https://developer.apple.com/documentation/gamekit/gksavedgame?language=objc
At tvOS, we are considering using iCloud Key Value Storage or CloudKit.
Are these available on Apple Arcade?
Also, could you please tell me if there is a standard way to do cloud saves on Apple Arcade?
Post not yet marked as solved
I've gone through a successful installation of the tvOS 16 Beta profile on an Apple TV 4K (2nd Gen). Apple TV 4K reboots after the install. Yet, when I go into the System settings to have it look for a software update to download tvOS 16 Beta, the device says it is up to date.
Post not yet marked as solved
In my application I have a ViewController, In that view controller I have two CollectionViews - CollectionViewA and CollectionViewB in vertically format. And basically I have a design like calendar. In CollectionViewA - Displays the informations like, S.No, Image and favourite/unfavourite options. In CollectionViewB - Displays the program informations. So when I click the favourite option I'm reloading the collectionviews so that the collection view will get reload and update the informations in UI for favourite/unfavourite icon appearance. So this is how the functionality works.
Now what happens is, this functionality works properly till tvOS 15.2. When we do the same functionality in 15.3 and above, there is an CollectionView scroll issue (i.e) when I click favourite for the item in row number 10 then after collectionview.reload() it automatically moves to the position from 10 to 5 or 3.
This automatic scroll issue is happening with the below error which is noted in log console.
Collection view focus state got out of sync. Expected (null) to be the current managed subview but found <MyApp.CollectionViewCell: 0x114517ad0; baseClass = UICollectionViewCell; frame = (0 6532; 270 126); opaque = NO; tintColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x28339ab00>>.
Let me know if anyone can help me out from this issue!!!
Plug my TV into iTunes, hit restore then get this error:"The Apple TV software update server could not be contacted. The Requested resource was not found."Does anyone know if this is a common issue or just busy servers on Apple's end, or is there something I have to do on my end?
Post not yet marked as solved
I can use Xcode 13.1 to install/run my tvOS App on an Apple TV Device (with tvOS 15.1.1) (i.e. Xcode has paired with my Apple TV wirelessly), but the instrument tool (13.0) can't detect my Apple TV and only shows my Mac and my iPhone (which is connected via cable). Anyone has any idea whether wireless instrumentation is supported or not? If not supported, any alternative hack? Thx ahead.
Post not yet marked as solved
Need to avoid the fast swiping in the channel flipping for live streaming. is there any way to do the channel flipping one at a time. ? once the live event start playing then allowing user to do another channel flip
Post not yet marked as solved
Is there a way to stop this from happening? Is it a bug in the beta?
Post not yet marked as solved
Hello
We're implementing Search in our Apple TV App, and want to show Search Suggestions. We've followed the WWDC talk https://developer.apple.com/videos/play/wwdc2020/10634/ and so far so good.
We've got our suggestions showing, but at the start of our suggestions list is the default built in suggestion of whatever has already been typed.
We want to remove this first suggestion, because below the suggestions is already the results for the typed search term, and therefore offering this suggestion doesn't work for us.
An array of two UISearchSuggestionItem were added to self.searchController.searchSuggestions, but this seems to have been pre-pended with another suggestion, which is what the customer has already typed. This is what we want to turn off.
This suggestion isn't present in the Apple TV+ app, so it feels like we must somehow be able to turn this off, but haven't found any way to do so.
This is AppleTV+ app which does NOT show a suggestion of "jo".
Please help.
Thanks
Antony