tvOS 10.2 beta - Strange top shelf behaviour

Hey everyone,


I recently published my first Apple TV app and while it works fine in the simulator and with tvOS 10.1, 10.2 is giving me problems.

The app is called "Top Shelf Calendar" and as the name implies is mainly intended to provide a calendar for the top shelf.

It is supposed to load three items (events of the day, weather forecast, quote of the day) with each top shelf refresh (which I trigger in the extension).

But since our Apple TV updated to 10.2 (I had forgotton that I loaded the beta development profile onto it), it stops with the first item.

It even seems to re-initialize with each refresh, as the background image changes constantly.

This should only happen after at least 15 minutes.

I do not know what changed. 10.1 worked finie.

I am not able to check with xCode, as version 8.2 only supports tvOS 10.1 and xCode beta 8.3 only runs on Sierra (am still on El Cap).


Any tipps would be appreciated.


Best regards,


André

Okay,


some combined StackOverflow and Github results helped me to use xCode 8.2 with tvOS 10.2:


From StackOverflow:

You need to copy the iPhoneOS5.1.sdk to the directory

     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk

and iPhoneSimulator5.1.sdk to

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk

(You'll need to restart Xcode to be able to select the SDKs in the Base SDK build option.)


And from Github:

// The trick is to link the DeviceSupport folder from the beta to the stable version.

ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.3\ \(14E5230d\)/

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

// Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions


Maybe the latter one (of course adapted for Apple TV) would have been enough to be able to debug my device, but the SDK's are always good to have.


Turns out 10.2 seems to make even less resources available to top shelf extensions.

It was a problem I had to deal with for my particular app, before, already.

Now there seems to be even less memory allocated.

I hope it is a beta thing..


Best regards,


André

tvOS 10.2 beta - Strange top shelf behaviour
 
 
Q