{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5617","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5617/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5617/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/5617/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/5617","id":100911675,"number":5617,"title":"12377282: identifierForVendor returns 00000000-0000-0000-0000-000000000000 on some devices","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/2","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iOS","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/2/labels","id":1237416,"number":2,"title":"iOS","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":816,"closed_issues":0,"state":"open","created_at":"2015-08-03T02:08:30Z","updated_at":"2015-08-14T02:01:39Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-14T02:01:39Z","updated_at":"2015-08-14T02:01:39Z","closed_at":null,"body":"#### Description\n\n26-Sep-2012 07:31 PM Lukas Zeller:\r\nSummary:\r\n\r\nthe new iOS API to obtain a vendor specific unique ID, the \"identifierForVendor\" method of UIDevice, returns a non-unique ID of 00000000-0000-0000-0000-000000000000 on some devices.\r\n\r\nSteps to Reproduce:\r\n\r\n  UIDevice *theDevice = [UIDevice currentDevice];\r\n  NSUUID *ifv = [theDevice identifierForVendor];\r\n  NSString *deviceID = [ifv UUIDString];\r\n  NSLog(deviceID);\r\n\r\nExpected Results:\r\n\r\nAn unique identifier for the device/vendor combination\r\n\r\nActual Results:\r\n\r\nOn some devices this returns a completely bogus ID of\r\n\r\n  00000000-0000-0000-0000-000000000000\r\n\r\nTwo of my own devices (an iPhone4 and a iPhone4S) are affected, another (a iPad 3rd Gen) is not.\r\n\r\nIn the few hours since I detected this problem (which has catastrophic consequences for my customers, see below) I have collected logs from 5 customers from all over the world, with iPhones and iPads which exhibit the same behaviour.\r\n\r\nThe behaviour is 100% reproducible on affected devices, among different apps (my real apps and the test app as attached to this bug report)\r\n\r\nRegression:\r\n\r\nno reliable device identifier in iOS - UUID is deprecated and identifierForVendor seems severely unreliable.\r\n\r\nNotes:\r\n\r\nI created a minimal app to test the behaviour.\r\n\r\nThis is catastropic for apps like mine, which implement a open protocol which MANDATES a unique device identifier (SyncML in my case). Non-unique IDs may mess up data on the server side.\r\n\r\nI am hugely disappointed as the switch from UDID to identifierForVendor has cost me and especially my customers a lot of headake already, because a device which changed ID is not something the designers of the SyncML standard thought would happen. But widespread collision of IDs is really disastrous!!! \r\n\r\n26-Sep-2012 07:31 PM Lukas Zeller:\r\n'identifierForVendor000000000000000.zip' was successfully uploaded\r\n(For openRadar: get the sample app here: http://www.plan44.ch/downloads/identifierForVendor000000000000000.zip\n\n-\nProduct Version: iOS6\nCreated: 2012-09-26T17:37:46.334404\nOriginated: 2012-09-26T00:00:00\nOpen Radar Link: http://www.openradar.me/12377282"}}