[WatchKit] Configure host app Info.plist.

This commit is contained in:
Eloy Durán
2014-11-21 20:55:11 +01:00
parent 167cdb4084
commit 756ea30e49

View File

@@ -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(_)