Skip to content
/ ZKUDID Public

Generate and save permanent UDID with IDFV and keychain in iOS device.

License

Notifications You must be signed in to change notification settings

mushank/ZKUDID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZKUDID

Travis-CI Carthage CocoaPods Platform License MIT

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, simply add the following line to your Podfile:

pod 'ZKUDID', '~> 2.0'

Carthage

Available through 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.