diff --git a/lib/motion/project/template/ios-watch-host-config.rb b/lib/motion/project/template/ios-watch-host-config.rb index 64f76f9b..2ad88d92 100644 --- a/lib/motion/project/template/ios-watch-host-config.rb +++ b/lib/motion/project/template/ios-watch-host-config.rb @@ -49,9 +49,13 @@ module Motion; module Project; end end - def info_plist_data(platform) - info_plist['CFBundleIdentifier'] = identifier + '.watchapp' - super + # TODO there are more differences, but they seem less important atm. + def merged_info_plist(platform) + plist = super + plist['CFBundleIdentifier'] = identifier + '.watchapp' + plist['UIDeviceFamily'] << '4' # TODO Are numbers in apps generated by Xcode! + plist['WKWatchKitApp'] = true + plist end def main_cpp_file_txt(_)