mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-04 22:58:19 +08:00
[WatchKit] Configure host app Info.plist.
This commit is contained in:
@@ -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(_)
|
||||
|
||||
Reference in New Issue
Block a user