# tvOS Submission errors. CFBundlePrimaryIcon and more.

**URL:** <https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256>\
**Category:** Apple TV and tvOS\
**Created:** [December 18, 2017, 12:47am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256 "2017-12-18T00:47:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 18, 2017, 12:47am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/1 "2017-12-18T00:47:24Z")

</div>

While I’ve tried following the XCAsset documentation, it refers to removing some tvOS directories for iOS submissions. Those directories don’t exist in the builds I’ve looked at.

My Corona build runs just fine, but when loading it to the App Store I get the following error(s)

1 package(s) were not uploaded because they had problems:

/var/folders/kd/w6sc1l310zgfjtv5pfzgym3r0000gn/T/B9D4085E-9960-4F7A-9482-0DE32B9DF2A9/1326443601.itmsp - Error Messages:

description length:688688

ERROR ITMS-90513: “Missing Info.plist Key. Your app’s Info.plist must contain the ‘CFBundleIcons.CFBundlePrimaryIcon’ key.”

ERROR ITMS-90513: “Missing Info.plist Key. Your app’s Info.plist must contain the ‘TVTopShelfImage.TVTopShelfPrimaryImage’ key.”

ERROR ITMS-90513: “Missing Info.plist Key. Your app’s Info.plist must contain the ‘TVTopShelfImage.TVTopShelfPrimaryImageWide’ key.”

The build.settings are as follows.

```
-- -- For more information on build.settings, see the Project Build Settings guide at: -- https://docs.coronalabs.com/guide/distribution/buildSettings -- settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "landscapeLeft", supported = { "landscapeLeft", } }, -- -- Android section -- android = { usesPermissions = { "android.permission.INTERNET", }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { MinimumOSVersion = "8.0", NSAppTransportSecurity = { NSAllowsArbitraryLoads = true, }, UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", }, }, -- -- Plugins section -- plugins = { ["plugin.musicStreaming"] = { publisherId = "tech.scotth", supportedPlatforms = { iphone=true, android=true } }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform ios = { "Icon.png", "Icon-\*dpi.png", }, android = { "Icon.png", "Icon-??.png", "Icon-???.png", "LaunchScreen.storyboardc", }, }, }

```

I’ve tried this on both build 3162 and 3184.

Any thoughts

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 18, 2017, 1:06am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/2 "2017-12-18T01:06:20Z")

</div>

You are entirely missing the&nbsp; (Apple) tvos section and I assume the assets too.

Examine Corona Cannon, which is Apple TV Ready:

- [https://marketplace.coronalabs.com/asset/corona-cannon](https://marketplace.coronalabs.com/asset/corona-cannon)
- [https://github.com/coronalabs-samples/CoronaCannon](https://github.com/coronalabs-samples/CoronaCannon)
  - **[https://github.com/coronalabs-samples/CoronaCannon/blob/master/build.settings](https://github.com/coronalabs-samples/CoronaCannon/blob/master/build.settings)**

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 18, 2017, 1:08am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/3 "2017-12-18T01:08:38Z")

</div>

You might also want to give these docs a read:

- [https://docs.coronalabs.com/guide/distribution/buildSettings/index.html](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html)
- [https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv)

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 18, 2017, 2:16am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/4 "2017-12-18T02:16:19Z")

</div>

I did refer to an older app I put on Apple TV but that didn’t have any of the xcassets.&nbsp;

I did read those articles, and the latter ([https://docs.coronalabs.com/guide/distribution/xcAssets/index.html](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html)) mentions tvOS, but its references don’t work any more (the directories aren’t there)

Cannon however appears to be a good reference! I’ll chase that rabbit and see where it gets me.

This looks like it has what I"m missing.

```
 tvos = { iCloud = true, icon = { small = { -- A collection of 400x240 images, in order from top to bottom 'Icon-tvOS-Small-4.png', 'Icon-tvOS-Small-3.png', 'Icon-tvOS-Small-2.png', 'Icon-tvOS-Small-1.png' }, large = { -- A collection of 1280x768 images, in order from top to bottom 'Icon-tvOS-Large-4.png', 'Icon-tvOS-Large-3.png', 'Icon-tvOS-Large-2.png', 'Icon-tvOS-Large-1.png' } }, topShelfImage = 'Icon-tvOS-TopShelf.png', -- 1920x720 topShelfImageWide = 'Icon-tvOS-TopShelfWide.png', -- 2320x720 launchImage = 'Icon-tvOS-Launch.png' -- 1920x1080 },&nbsp;

```

Ultimately I suspect the Corona documentation could do with updating, except I’m concerned on the longevity of tvOS, it seems to be used less and less :(&nbsp;

Thank you.

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 19, 2017, 1:22am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/5 "2017-12-19T01:22:07Z")

</div>

@graham07,  
&nbsp;  
Why do you think this?  
&nbsp;

> Ultimately I suspect the Corona documentation could do with updating, except I’m concerned on the longevity of tvOS, it seems to be used less and less&nbsp; ☹

I think perhaps the Apple docs update simply slipped through the cracks with the many things going on at Corona.

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 1:46am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/6 "2017-12-19T01:46:04Z")

</div>

My comment about tvOS wasn’t aimed at Corona, but at the developer side.

The tvOS forum here is very quiet, the ad providers dropped support for tvOS which IMHO is likely due to lower ROI on the platform.

Lack of monetization options may in turn have developers steer away from the platform too, and it becomes cyclical. Sure there’s other ways to monetize, but advertising is a major player currently.

I know Apple won’t drop it, but it appeared to lose a lot of the traction that it had. I don’t expect it to die, but I don’t expect the environment/third party support to improve a lot either (unless something happens Applewise)

All that said, more than happy to be wrong 🙂

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [December 19, 2017, 1:50am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/7 "2017-12-19T01:50:43Z")

</div>

I’m asking for a clarification&nbsp;on the documentation and we will get it updated with a more complete example.

Rob

---

<div class="post-metadata">

**Author:** ![vlads](https://forums.solar2d.com/user_avatar/forums.solar2d.com/vlads/32/29_2.png) [@vlads](https://forums.solar2d.com/u/vlads)\
**Post date:** [December 19, 2017, 2:06am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/8 "2017-12-19T02:06:40Z")

</div>

Try building SampleCode/Physics/ShapeTumbler. It has setup for tvOS submission. I’ll check it as well.

EDIT: Submission of that sample to app store worked perfectly, got green checkmark and everything. Please, use it’s build.settings tvOS section and Images.xcassets as an example. It is little different to include all the tvOS assets.

![uawyiSn.png](https://i.imgur.com/uawyiSn.png)

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 2:07am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/9 "2017-12-19T02:07:55Z")

</div>

Corona Cannon got the job done, I’ll check out details for Rob on the documentation side. Thanks for the tip though Vlads, I’ll check that out too just as a learning exercise.

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 2:52am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/10 "2017-12-19T02:52:47Z")

</div>

> [@rob](#):
>
> I’m asking for a clarification&nbsp;on the documentation and we will get it updated with a more complete example.

Rob,

&nbsp; Per the two articles referenced above, there isn’t a lot of mention for tvOS.

_[https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv)_

_ **Project Build Settings Document.** _

\_ **tvOS / Android TV** \_

_Apps designed for TV systems require additional icons:_

- 

_For Apple’s&nbsp;tvOS, several unique icons and assets are required. Please see the [Managing Xcode Assets](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html) guide for a reference on the Images.xcassets folder and how to include/reference it within your app._

&nbsp;

&nbsp;

_[https://docs.coronalabs.com/guide/distribution/xcAssets/index.html](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html)_

\_ **Managing Xcode Assets** \_

&nbsp;

_If no tvOS release is planned, you can delete both the AppIconTV.brandassets and LaunchImageTV.launchimage folders within the Images.xcassets folder. This will not affect how icons are generated for iOS._

Under Managing Xcode assets, I don’t know that these assets (_&nbsp;AppIconTV.brandassets and LaunchImageTV.launchimage folders_) are still included as I don’t see them any more.

After searching the documentation, I don’t see any reference whatsoever to a tvOS section in build settings (like I quoted above) so I wasn’t aware I should have included it. Naive perhaps, but I wasn’t able to find anything pointing that out :). It explains why I was having so much trouble though.

Hope that helps, and if there are other areas I missed that I should have read, I’m happy to be educated.

Thank you

---

<div class="post-metadata">

**Author:** ![vlads](https://forums.solar2d.com/user_avatar/forums.solar2d.com/vlads/32/29_2.png) [@vlads](https://forums.solar2d.com/u/vlads)\
**Post date:** [December 19, 2017, 3:51am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/11 "2017-12-19T03:51:43Z")

</div>

Hey, [member=‘graham07’]. You can use&nbsp;/Applications/Corona-3184/SampleCode/Physics/ShapeTumbler/Images.xcassets as a template for all tvOS assets.&nbsp;

tvos.icon/topShelfImage/topShelfImageWide may not work with latest build (they will work, but it is possible that you have to still use tvos.xcassets to specify some assets which can’t be specified with hardcoded tvos. entries). Please, Use ShapeTumbler’s build.settings in tvos section as template for you tvOS app. It is super easy:

```
settings = { &nbsp; &nbsp; orientation = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; default = "landscapeRight", &nbsp; &nbsp; &nbsp; &nbsp; supported = { "landscapeRight" } &nbsp; &nbsp; }, &nbsp; &nbsp; tvos = &nbsp; &nbsp; { &nbsp; &nbsp; &nbsp; &nbsp; xcassets = "Images.xcassets", &nbsp; &nbsp; }, }

```

That’s it. That is all there is for it.

Cheers!&nbsp;

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 18, 2017, 1:06am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/12 "2017-12-18T01:06:20Z")

</div>

You are entirely missing the&nbsp; (Apple) tvos section and I assume the assets too.

Examine Corona Cannon, which is Apple TV Ready:

- [https://marketplace.coronalabs.com/asset/corona-cannon](https://marketplace.coronalabs.com/asset/corona-cannon)
- [https://github.com/coronalabs-samples/CoronaCannon](https://github.com/coronalabs-samples/CoronaCannon)
  - **[https://github.com/coronalabs-samples/CoronaCannon/blob/master/build.settings](https://github.com/coronalabs-samples/CoronaCannon/blob/master/build.settings)**

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 18, 2017, 1:08am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/13 "2017-12-18T01:08:38Z")

</div>

You might also want to give these docs a read:

- [https://docs.coronalabs.com/guide/distribution/buildSettings/index.html](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html)
- [https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv)

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 18, 2017, 2:16am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/14 "2017-12-18T02:16:19Z")

</div>

I did refer to an older app I put on Apple TV but that didn’t have any of the xcassets.&nbsp;

I did read those articles, and the latter ([https://docs.coronalabs.com/guide/distribution/xcAssets/index.html](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html)) mentions tvOS, but its references don’t work any more (the directories aren’t there)

Cannon however appears to be a good reference! I’ll chase that rabbit and see where it gets me.

This looks like it has what I"m missing.

```
 tvos = { iCloud = true, icon = { small = { -- A collection of 400x240 images, in order from top to bottom 'Icon-tvOS-Small-4.png', 'Icon-tvOS-Small-3.png', 'Icon-tvOS-Small-2.png', 'Icon-tvOS-Small-1.png' }, large = { -- A collection of 1280x768 images, in order from top to bottom 'Icon-tvOS-Large-4.png', 'Icon-tvOS-Large-3.png', 'Icon-tvOS-Large-2.png', 'Icon-tvOS-Large-1.png' } }, topShelfImage = 'Icon-tvOS-TopShelf.png', -- 1920x720 topShelfImageWide = 'Icon-tvOS-TopShelfWide.png', -- 2320x720 launchImage = 'Icon-tvOS-Launch.png' -- 1920x1080 },&nbsp;

```

Ultimately I suspect the Corona documentation could do with updating, except I’m concerned on the longevity of tvOS, it seems to be used less and less :(&nbsp;

Thank you.

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [December 19, 2017, 1:22am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/15 "2017-12-19T01:22:07Z")

</div>

@graham07,  
&nbsp;  
Why do you think this?  
&nbsp;

> Ultimately I suspect the Corona documentation could do with updating, except I’m concerned on the longevity of tvOS, it seems to be used less and less&nbsp; ☹

I think perhaps the Apple docs update simply slipped through the cracks with the many things going on at Corona.

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 1:46am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/16 "2017-12-19T01:46:04Z")

</div>

My comment about tvOS wasn’t aimed at Corona, but at the developer side.

The tvOS forum here is very quiet, the ad providers dropped support for tvOS which IMHO is likely due to lower ROI on the platform.

Lack of monetization options may in turn have developers steer away from the platform too, and it becomes cyclical. Sure there’s other ways to monetize, but advertising is a major player currently.

I know Apple won’t drop it, but it appeared to lose a lot of the traction that it had. I don’t expect it to die, but I don’t expect the environment/third party support to improve a lot either (unless something happens Applewise)

All that said, more than happy to be wrong 🙂

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [December 19, 2017, 1:50am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/17 "2017-12-19T01:50:43Z")

</div>

I’m asking for a clarification&nbsp;on the documentation and we will get it updated with a more complete example.

Rob

---

<div class="post-metadata">

**Author:** ![vlads](https://forums.solar2d.com/user_avatar/forums.solar2d.com/vlads/32/29_2.png) [@vlads](https://forums.solar2d.com/u/vlads)\
**Post date:** [December 19, 2017, 2:06am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/18 "2017-12-19T02:06:40Z")

</div>

Try building SampleCode/Physics/ShapeTumbler. It has setup for tvOS submission. I’ll check it as well.

EDIT: Submission of that sample to app store worked perfectly, got green checkmark and everything. Please, use it’s build.settings tvOS section and Images.xcassets as an example. It is little different to include all the tvOS assets.

![uawyiSn.png](https://i.imgur.com/uawyiSn.png)

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 2:07am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/19 "2017-12-19T02:07:55Z")

</div>

Corona Cannon got the job done, I’ll check out details for Rob on the documentation side. Thanks for the tip though Vlads, I’ll check that out too just as a learning exercise.

---

<div class="post-metadata">

**Author:** ![graham07](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/54ee81/32.png) [@graham07](https://forums.solar2d.com/u/graham07)\
**Post date:** [December 19, 2017, 2:52am UTC](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256/20 "2017-12-19T02:52:47Z")

</div>

> [@rob](#):
>
> I’m asking for a clarification&nbsp;on the documentation and we will get it updated with a more complete example.

Rob,

&nbsp; Per the two articles referenced above, there isn’t a lot of mention for tvOS.

_[https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv](https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#tvos-android-tv)_

_ **Project Build Settings Document.** _

\_ **tvOS / Android TV** \_

_Apps designed for TV systems require additional icons:_

- 

_For Apple’s&nbsp;tvOS, several unique icons and assets are required. Please see the [Managing Xcode Assets](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html) guide for a reference on the Images.xcassets folder and how to include/reference it within your app._

&nbsp;

&nbsp;

_[https://docs.coronalabs.com/guide/distribution/xcAssets/index.html](https://docs.coronalabs.com/guide/distribution/xcAssets/index.html)_

\_ **Managing Xcode Assets** \_

&nbsp;

_If no tvOS release is planned, you can delete both the AppIconTV.brandassets and LaunchImageTV.launchimage folders within the Images.xcassets folder. This will not affect how icons are generated for iOS._

Under Managing Xcode assets, I don’t know that these assets (_&nbsp;AppIconTV.brandassets and LaunchImageTV.launchimage folders_) are still included as I don’t see them any more.

After searching the documentation, I don’t see any reference whatsoever to a tvOS section in build settings (like I quoted above) so I wasn’t aware I should have included it. Naive perhaps, but I wasn’t able to find anything pointing that out :). It explains why I was having so much trouble though.

Hope that helps, and if there are other areas I missed that I should have read, I’m happy to be educated.

Thank you

[Next page](https://forums.solar2d.com/t/tvos-submission-errors-cfbundleprimaryicon-and-more/346256.md?page=2)
