Thanks Rob, my build settings are:
settings = { splashScreen = { enable = true, image = "ObombaSplashScreen.png" }, orientation = { default = 'landscapeRight', supported = {'landscapeLeft', 'landscapeRight'} }, android = { installLocation = 'auto', usesPermissions = {}, supportsTV = true, isGame = true, largeHeap = true, usesFeatures = { {name = 'android.hardware.gamepad', required = false} }, mainIntentFilter = { categories = {'tv.ouya.intent.category.GAME'} } }, iphone = { iCloud = true, xcassets = "Images.xcassets", plist = { CFBundleIconFiles = {}, UIPrerenderedIcon = true, UILaunchStoryboardName = 'launchscreen', UIBackgroundModes = {'remote-notification'}, UIApplicationExitsOnSuspend = false }, skipPNGCrush = true }, 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 }, osx = { iCloud = {['kvstore-identifier'] = 'com.harbours.obomba'}, plist = {NSHumanReadableCopyright = 'Copyright 2017 © The Harbours, Inc.'} }, window = { defaultMode = 'fullscreen', defaultViewWidth = 1280, defaultViewHeight = 720, minViewWidth = 1280, minViewHeight = 720, --enableMaximizeButton = true, --resizable = true, titleText = {default = 'Obomba'} }, plugins = { ['plugin.iCloud'] = {publisherId = 'com.coronalabs', supportedPlatforms = {iphone = true, appletvos = true, ['iphone-sim'] = true, osx = true}}, ['plugin.bit'] = {publisherId = 'com.coronalabs'} -- Needed for Tiled loader }, excludeFiles = { all = { 'Banner-\*.png', 'Icon-\*dpi.png', 'Icon-ouya-xiaomi.png', 'Icon-ouya.png', 'Icon-tvOS-\*.png', '\*.icns', '\*.ico', 'icon1024.png', 'icon1024-iOS.png', 'key.der', '\*.keystore', 'maps/\*.tmx', 'prepare\_icons.sh', 'Obombav\*.apk', "Obomba.cer", "Obomba.csr", "Obomba.mobileprovision", "icon1024-iOS-NoAlpha.png", "icon1024-iOS.png", "Obomba.pem", "README.md" } } } local iPhoneIcons = {} for i = 1, #settings.iphone.plist.CFBundleIconFiles do iPhoneIcons[i] = settings.iphone.plist.CFBundleIconFiles[i] end iPhoneIcons[#iPhoneIcons + 1] = '\*.nib' iPhoneIcons[#iPhoneIcons + 1] = 'Default-\*.png' iPhoneIcons[#iPhoneIcons + 1] = 'iTunes\*' settings.excludeFiles.tvos = iPhoneIcons settings.excludeFiles.android = iPhoneIcons settings.excludeFiles.osx = iPhoneIcons settings.excludeFiles.win32 = iPhoneIcons
Also I’ve modified the prepare_iconds.sh script that came with the project because I saw some posts about alpha channels and I needed to generate the additional images specified in the Content.json. That file now looks like this:
#!/bin/sh base="icon1024-iOS.png" mkdir -p Images.xcassets/AppIcon.appiconset/ convert "$base" -resize '20x20' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-40.png" convert "$base" -resize '29x29' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-58.png" convert "$base" -resize '29x29' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-87.png" convert "$base" -resize '40x40' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-80.png" convert "$base" -resize '60x60' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-180.png" convert "$base" -resize '76x76' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-76.png" convert "$base" -resize '76x76' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-152.png" convert "$base" -resize '80x80' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-Small-40@2x.png" convert "$base" -resize '83.5x83.5' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-167.png" convert "$base" -resize '100x100' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png" convert "$base" -resize '114x114' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon@2x.png" convert "$base" -resize '120x120' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-120.png" convert "$base" -resize '144x144' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-72@2x.png" convert "$base" -resize '152x152' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-152.png" convert "$base" -resize '180x180' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-60@3x.png" convert "$base" -resize '167x167' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-167.png" convert "$base" -resize '512x512' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/iTunesArtwork" convert "$base" -resize '1024x1024' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/iTunesArtwork@2x" convert "$base" -resize '1024x1024' -alpha remove -flatten -unsharp 1x4 "Images.xcassets/AppIcon.appiconset/Icon-1024.png"