TestFlight crashing with tvOS app

So I've finally been able to get a build together, get it uploaded to iTunesConnect, past the processing phase, and down into TestFlight. Unfortunately, the TestFlight app is crashing immediately on activation. I can see a flash of an icon space and text where my app is supposed to be, but the TestFlight tvOS app goes away.


I have noted that the icon does not show during that brief second, and I've also noted that the icon doesn't show in organizer. Can this be related?


Anybody have any suggestions?

Answered by mike in 70078022

It seems that the problem was that the install of Beta 2 did not work properly when done using the device's software update feature. However, when the beta was downloaded and then installed via the USB-C cable, TestFlight worked as expected.

May I ask how you managed to upload your binary?

I'm getting this error: 'Archive item is not associated with any known iTunes platform'

Using: Xcode Version 7.1 beta (7B60)

Any ideas?

There is a later version of Xcode (7B75) - I wasn't even able to build with the previous one.


I added the tvOS platform in iTunesConnect and then I was able to upload to that using Xcode. Once it was uploaded, I enabled TestFlight.


TestFlight is still crashing for me, but I was able to install directly to the AppleTV and the app works as expected that way. I still don't know what the problem with TestFlight is....

Thanks for noticing that! I had downloaded Beta2 but for some reason it was still launching 7B60.

I'll look into it.

I'm also having this exact same issue. Any luck in finding a solution?

not yet. I've been able to get the crash logs from the apple tv - it looks like it is crashing near a [UIImage setImage] call, which makes me think that the icon isn't right somehow... I also never see any icon on the Organizer upload screen.

your the man that worked like an charm do i need those kert files

Has anybody been able to install from TestFlight? I'm stumped. The TestFlight crash log has this trace:


Last Exception Backtrace:

0 CoreFoundation 0x186d94f50 __exceptionPreprocess + 124

1 libobjc.A.dylib 0x197b67f80 objc_exception_throw + 56

2 CoreFoundation 0x186d94e98 +[NSException raise:format:] + 120

3 QuartzCore 0x18b704d94 CA::Layer::set_bounds(CA::Rect const&, bool) + 200

4 QuartzCore

0x18b704c34 -[CALayer setBounds:] + 100

5 UIKit

0x18c76569c -[_UIStackedImageContainerLayer _setParallaxImages:] + 820

6 UIKit

0x18c760a7c -[_UIStackedImageContainerLayer setLayerStack:] + 252

7 UIKit

0x18c9e88d8 -[_UIStackedImageContainerView _updateContainerLayerImages] + 392

8 UIKit

0x18c9e89dc -[_UIStackedImageContainerView setStackImage:] + 104

9 UIKit

0x18c511d04 -[UIImageView _configureForLayeredImage:] + 324

10 UIKit

0x18c176ccc -[UIImageView _updateState] + 700

11 UIKit

0x18c1769f4 +[UIView(Animation) performWithoutAnimation:] + 80

12 UIKit

0x18c511a44 -[UIImageView _updateImageViewForOldImage:newImage:] + 628

13 UIKit

0x18c176384 -[UIImageView setImage:] + 352



I was thinking the error might have something to do with my icons, but I tried using the DemoBots icons and got the same results.

Accepted Answer

It seems that the problem was that the install of Beta 2 did not work properly when done using the device's software update feature. However, when the beta was downloaded and then installed via the USB-C cable, TestFlight worked as expected.

TestFlight crashing with tvOS app
 
 
Q