{"id":13685324,"url":"https://github.com/gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5","last_synced_at":"2025-05-01T04:30:38.497Z","repository":{"id":56924845,"uuid":"2238384","full_name":"gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5","owner":"gekitz","description":"Brings back the unique identifier support under iOS 5, it uses the device's mac address in combination with the bundle identifier to generate a new hashed unique identifier.","archived":false,"fork":false,"pushed_at":"2013-07-18T13:55:27.000Z","size":152,"stargazers_count":1236,"open_issues_count":11,"forks_count":227,"subscribers_count":72,"default_branch":"master","last_synced_at":"2024-10-29T22:32:00.356Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gekitz.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-20T09:19:59.000Z","updated_at":"2024-10-15T06:44:36.000Z","dependencies_parsed_at":"2022-08-20T22:50:27.152Z","dependency_job_id":null,"html_url":"https://github.com/gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gekitz","download_url":"https://codeload.github.com/gekitz/UIDevice-with-UniqueIdentifier-for-iOS-5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224235009,"owners_count":17278072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T14:00:48.862Z","updated_at":"2024-11-12T07:30:21.655Z","avatar_url":"https://github.com/gekitz.png","language":"Objective-C","readme":"\n** NOTE: this is not going to work under iOS 7 **\n\n# Description\n\nApple stopped supporting a unique identifier for iOS. This source code solves the problem. It generates a unique identifier based on the mac address of the device in combination with the bundle identifier.\n\nWhat you need to do:\n\n- copy `NSString+MD5Addition` and `UIDevice+IdentifierAddition` to your project.\n\n- if your are using ARC in your project, you have to add the `-fno-objc-arc` flag to both files. [Apple ARC Guidelines](http://developer.apple.com/library/mac/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html)\n\n- use `[[UIDevice currentDevice] uniqueDeviceIdentifier]` to retrieve the unique identifier (it's a hash of your Bundle ID + MAC address)\n\n- use `[[UIDevice currentDevice] uniqueGlobalDeviceIdentifier]` to retrieve a global unique identifier (it's a hash of the MAC address, used for tracking between different apps).\n\n- have fun and follow [gekitz](http://twitter.com/gekitz) ;)\n\n//Thanks to Erica Sadun for her UIDevice+Hardware Addition (used for the mac address retrieval).\n\n# License\nsee license file.\n\n","funding_links":[],"categories":["Objective-C","Objective-C  Stars 1000以内排名整理","etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgekitz%2FUIDevice-with-UniqueIdentifier-for-iOS-5/lists"}