Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mushank/ZKUDID
Generate and save permanent UDID with IDFV and keychain in iOS device.
https://github.com/mushank/ZKUDID
carthage cocoapods identifierforvendor idfv ios keychain objective-c udid uuid
Last synced: 9 days ago
JSON representation
Generate and save permanent UDID with IDFV and keychain in iOS device.
- Host: GitHub
- URL: https://github.com/mushank/ZKUDID
- Owner: mushank
- License: mit
- Created: 2016-02-21T05:43:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-26T10:16:25.000Z (over 7 years ago)
- Last Synced: 2024-10-29T21:03:33.523Z (15 days ago)
- Topics: carthage, cocoapods, identifierforvendor, idfv, ios, keychain, objective-c, udid, uuid
- Language: Objective-C
- Homepage:
- Size: 48.8 KB
- Stars: 158
- Watchers: 6
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZKUDID
[![Travis-CI](https://travis-ci.org/mushank/ZKUDID.svg?branch=master)](https://travis-ci.org/mushank/ZKUDID) [![Carthage](https://img.shields.io/badge/carthage-compatible-green.svg)](https://github.com/Carthage/Carthage) [![CocoaPods](https://img.shields.io/badge/pod-2.0-green.svg)](http://cocoapods.org/?q=ZKUDID) [![Platform](https://img.shields.io/badge/platform-iOS-lightgrey.svg)](http://www.apple.com/ios) [![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mushank/ZKUDID/blob/master/LICENSE)
**Generate and save permanent UDID with IDFV and keychain in iOS device.**
*Use `IDFV(identifierForVendor)` + `keychain` to make sure UDID consistency, even if the App has been removed or reinstalled.*
*A replacement for the deprecated mean of `OpenUDID`.*
## Install
#### CocoaPods
Available through [CocoaPods](http://cocoapods.org/), simply add the following line to your Podfile:
```
pod 'ZKUDID', '~> 2.0'
```#### Carthage
Available through [Carthage](https://github.com/Carthage/Carthage), simply add the following line to your Cartfile:
```
github "mushank/ZKUDID" ~> 2.0
```*Noti: Requires iOS 6.0 or later*
## Usage
It's so simple, just two lines of code:```
#include "ZKUDID.h"
NSString *UDIDString = [ZKUDID value];
```⚠️***Attention:*** *If you get the value `(null)`, please check your `KeyChain Entitlemen` setting: Go to project settings->Capabilities->Keychain Sharing->Add Keychain Groups+Turn On*. It usually happens in iOS 10.
## Source files
They are in the `ZKUDID` folder:
- `ZKUDID.h`
- `ZKUDID.m`Now, enjoy yourself!
## License
ZKUDID is released under [MIT License](https://github.com/mushank/ZKUDID/blob/master/LICENSE).