{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5231","labels_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5231/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5231/comments","events_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5231/events","html_url":"https://github.com/D-Programming-Language/dmd/pull/5231","id":113286171,"number":5231,"title":"Add OS version for iOS","user":{"login":"smolt","id":919827,"avatar_url":"https://avatars.githubusercontent.com/u/919827?v=3","gravatar_id":"","url":"https://api.github.com/users/smolt","html_url":"https://github.com/smolt","followers_url":"https://api.github.com/users/smolt/followers","following_url":"https://api.github.com/users/smolt/following{/other_user}","gists_url":"https://api.github.com/users/smolt/gists{/gist_id}","starred_url":"https://api.github.com/users/smolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolt/subscriptions","organizations_url":"https://api.github.com/users/smolt/orgs","repos_url":"https://api.github.com/users/smolt/repos","events_url":"https://api.github.com/users/smolt/events{/privacy}","received_events_url":"https://api.github.com/users/smolt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":57,"created_at":"2015-10-26T05:10:13Z","updated_at":"2015-11-09T17:02:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/pulls/5231","html_url":"https://github.com/D-Programming-Language/dmd/pull/5231","diff_url":"https://github.com/D-Programming-Language/dmd/pull/5231.diff","patch_url":"https://github.com/D-Programming-Language/dmd/pull/5231.patch"},"body":"Just starting the process to make iOS official.  Here we reserve OS `version(iOS)` which will trickle into LDC eventually.  ~~Also reserve `version(Darwin)` for OSX and iOS common code because iOS is based on OS X.  Most of the system and libc calls are identical for iOS/OSX and this will prevent either copying code or having to manually `version(OSX) version = Darwin; version(iOS) version = Darwin` in many files.~~\r\n\r\n~~Note - this does not touch legacy version darwin which can still follow its deprecation lifecycle.~~\r\n\r\n~~The LDC discussion is ldc-developers/ldc#1081 is where this is coming from.  The choice of `version(Darwin)` for common code comes from Mono and LLVM's Triple class.~~\r\n\r\n~~If this is accepted, the next step is to change many occurrences of `version(OSX)` in the runtime to `version(Darwin)`.  That doesn't seem so bad, but then there are all the packages with osx in the name like `core.sys.osx`.  Ideally they would all be `core.sys.darwin`.  But that is for later.~~"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/comments/155124843","html_url":"https://github.com/D-Programming-Language/dmd/pull/5231#issuecomment-155124843","issue_url":"https://api.github.com/repos/D-Programming-Language/dmd/issues/5231","id":155124843,"user":{"login":"smolt","id":919827,"avatar_url":"https://avatars.githubusercontent.com/u/919827?v=3","gravatar_id":"","url":"https://api.github.com/users/smolt","html_url":"https://github.com/smolt","followers_url":"https://api.github.com/users/smolt/followers","following_url":"https://api.github.com/users/smolt/following{/other_user}","gists_url":"https://api.github.com/users/smolt/gists{/gist_id}","starred_url":"https://api.github.com/users/smolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolt/subscriptions","organizations_url":"https://api.github.com/users/smolt/orgs","repos_url":"https://api.github.com/users/smolt/repos","events_url":"https://api.github.com/users/smolt/events{/privacy}","received_events_url":"https://api.github.com/users/smolt/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T17:02:00Z","updated_at":"2015-11-09T17:02:00Z","body":"I'll wait a day and see if anybody has an opinion on names, then revise as needed.  For reference, here are sample namings:\r\n\r\nSDK Name |Swift OS Name| OS Name (LLVM triple)\r\n---------|-------------|---------------------\r\nMacOSX   | OSX\t       | macosx               \r\niPhoneOS | iOS\t       | ios    \t\t     \r\nAppleTVOS| tvOS\t       | tvos   \t\t     \r\nWatchOS  | watchOS     | watchos\t\t     \r\n"}}