• Stars
    star
    158
  • Rank 237,131 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.