{"action":"created","issue":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/365","labels_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/365/comments","events_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/365/events","html_url":"https://github.com/NativeScript/ios-runtime/issues/365","id":110929361,"number":365,"title":"building a tvOS app","user":{"login":"enchev","id":5804953,"avatar_url":"https://avatars.githubusercontent.com/u/5804953?v=3","gravatar_id":"","url":"https://api.github.com/users/enchev","html_url":"https://github.com/enchev","followers_url":"https://api.github.com/users/enchev/followers","following_url":"https://api.github.com/users/enchev/following{/other_user}","gists_url":"https://api.github.com/users/enchev/gists{/gist_id}","starred_url":"https://api.github.com/users/enchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enchev/subscriptions","organizations_url":"https://api.github.com/users/enchev/orgs","repos_url":"https://api.github.com/users/enchev/repos","events_url":"https://api.github.com/users/enchev/events{/privacy}","received_events_url":"https://api.github.com/users/enchev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T08:32:00Z","updated_at":"2015-10-26T10:04:59Z","closed_at":null,"body":"_From @mrjeremy28 on October 11, 2015 3:23_\n\nI'm pretty new to NativeScript, but noticed the power it has to deploy to multiple platforms using a single code base. I've used JavaScript before and am looking in creating a quiz like app that uses mobile devices as controllers.\r\nI'll be using a nodejs backend for all of the APIs, but trying to get the main TV app up and running and am looking for any guidance.\n\n_Copied from original issue: NativeScript/NativeScript#917_"},"comment":{"url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/comments/151088203","html_url":"https://github.com/NativeScript/ios-runtime/issues/365#issuecomment-151088203","issue_url":"https://api.github.com/repos/NativeScript/ios-runtime/issues/365","id":151088203,"user":{"login":"fealebenpae","id":289915,"avatar_url":"https://avatars.githubusercontent.com/u/289915?v=3","gravatar_id":"","url":"https://api.github.com/users/fealebenpae","html_url":"https://github.com/fealebenpae","followers_url":"https://api.github.com/users/fealebenpae/followers","following_url":"https://api.github.com/users/fealebenpae/following{/other_user}","gists_url":"https://api.github.com/users/fealebenpae/gists{/gist_id}","starred_url":"https://api.github.com/users/fealebenpae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fealebenpae/subscriptions","organizations_url":"https://api.github.com/users/fealebenpae/orgs","repos_url":"https://api.github.com/users/fealebenpae/repos","events_url":"https://api.github.com/users/fealebenpae/events{/privacy}","received_events_url":"https://api.github.com/users/fealebenpae/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T10:04:59Z","updated_at":"2015-10-26T10:04:59Z","body":"Hi @mwcampbell,\r\n\r\nWe don't have access to the new Apple TV hardware, so we can't verify that the runtime runs on it. It does compile for its ARM variant and I am confident it will run on the actual hardware.\r\n\r\nThe bitcode requirements match those for iOS in that it allows assembly code. We don't ship the runtime with bitcode right now because it balloons the size of the `tns-ios` package in npm, and bitcode is still optional on iOS, but you can build the runtime and libffi on your own with the `-fembed-bitcode` compiler flag.\r\n\r\nEven though tvOS uses UIKit it mandates new design patterns and interface guidelines and we are aware of that. Should interest in tvOS build to such a level that we decide to support it, it will be as a distinct platform alongside iOS and Android.\r\n\r\nOur metadata generator doesn't recognize tvOS as a Darwin platform because the open-source version of the Clang compiler we use underneath doesn't. We had to feed the tvOS SDK to the metadata generator while making it believe it was dealing with iOS, and that's why availability attributes that would have hidden an API on tvOS didn't kick in. This is a minor issue, though, as the API would do no harm just being in the metadata as long as it isn't called. Right now tvOS isn't high enough on our list of priorities to fix this, but we'd welcome contributions from the community."}}