I ran tns resources generate splashes
and tns resources generate icons
and it worked fine for Android but when it reloaded on iOS I got the following error:
/* com.apple.actool.errors / /Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets: error: None of the input catalogs contained a matching stickers icon set or app icon set named "AppIcon". / com.apple.actool.document.warnings / /Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchScreen.AspectFill.imageset/(null)[2d][LaunchScreen-AspectFill.png]: warning: The image set "LaunchScreen.AspectFill" has 2 unassigned children. /Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchScreen.Center.imageset/(null)[2d][LaunchScreen-Center.png]: warning: The image set "LaunchScreen.Center" has 2 unassigned children. /Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/fingoalNS/Resources/Assets.xcassets:./LaunchImage.launchimage/(null)[2d][Default-1125h.png]: warning: The launch image set "LaunchImage" has 12 unassigned children. / com.apple.actool.compilation-results */ /Users/adam_beck/Desktop/code/fingoalNS/platforms/ios/build/Debug-iphonesimulator/fingoalNS.app/LaunchImage-700-568h@2x.png /Users/adam_beck/Library/Developer/Xcode/DerivedData/fingoalNS-fvoglrpadrrtljalueomxfllvudt/Build/Intermediates.noindex/fingoalNS.build/Debug-iphonesimulator/fingoalNS.build/assetcatalog_generated_info.plist
When I rebuilt for iOS I got the following error:
Failed to find LaunchScreen.storyboard but it was specified in the Info.plist. Consider updating the resources in app/App_Resources/iOS/. A good starting point would be to create a new project and diff the changes with your current one. Also the following repo may be helpful: https://github.com/NativeScript/template-hello-world/tree/master/App_Resources/iOS We will now place an empty obsolete compatability white screen LauncScreen.xib for you in platforms/ios/fingoalNS/Resources/LaunchScreen.xib so your app may appear as it did in pre v2.1.0 versions of the ios runtime. Info.plist: Merging CFBundleURLTypes: Property CFBundleTypeRole is required!
and it exits with Command xcodebuild failed with exit code 65
Thoughts?
In case any one else runs into this issue the tns
commands never worked but I was able to successfully generate splashes and icons through Sidekick. From their docs: