I'm able to get the array of filename strings to appear in Info.plist with the following:
app.watch_app_config.info_plist['CFBundleIconFiles'] = [ 'file' ]
No go for me using
app.watch_app_config I can at least see it make it into the
Info.plist but the watch extension:
cat watch_app/build/WatchOS-2.0-Release/Daily\ Republic\ WatchKit\ App.app/Info.plist | grep -c CFBundleIconFiles
Still does not pass validation:
✗ Missing Icons. No icons found for watch application 'Daily Republic.app/Watch/Daily Republic WatchKit App.app'. Please make sure that its Info.plist file includes entries for CFBundleIconFiles.
I thought the answer would be to manually create an
.xcasset Asset Library but Rubymotion seems to choke to the build when one is included in a resource folder.
NoMethodError: undefined method `app_icons_asset_bundle' for #<Motion::Project::IOSWatchExtensionConfig:0x007fbfbe1b9f88>
/Library/RubyMotion/lib/motion/project/template/ios-watch-extension.rb:81:in `block (2 levels) in <top (required)>'
/Library/RubyMotion/lib/motion/project/template/ios-watch-extension.rb:91:in `block (2 levels) in <top (required)>'