Is there a way since (iOS 7's release) to get the UDID without using iTunes on a PC/Mac?

后端 未结 18 1441
余生分开走
余生分开走 2020-11-28 02:55

I\'m developing an app for my company and we\'re going through the process of slowly letting people into the \"beta\" by adding their iPads to the company\'s iOS Dev Center

相关标签:
18条回答
  • 2020-11-28 03:20

    We can use identifierForVendor for ios7,

    -(NSString*)uniqueIDForDevice
    {
        NSString* uniqueIdentifier = nil;
        if( [UIDevice instancesRespondToSelector:@selector(identifierForVendor)] ) { // >=iOS 7
            uniqueIdentifier = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
        } else { //<=iOS6, Use UDID of Device       
                CFUUIDRef uuid = CFUUIDCreate(NULL);
                //uniqueIdentifier = ( NSString*)CFUUIDCreateString(NULL, uuid);- for non- ARC
                uniqueIdentifier = ( NSString*)CFBridgingRelease(CFUUIDCreateString(NULL, uuid));// for ARC
                CFRelease(uuid);
             }
        }
    return uniqueIdentifier;
    }
    

    --Important Note ---

    UDID and identifierForVendor are different:---

    1.) On uninstalling  and reinstalling the app identifierForVendor will change.
    
    2.) The value of identifierForVendor remains the same for all the apps installed from the same vendor on the device.
    
    3.) The value of identifierForVendor also changes for all the apps if any of the app (from same vendor) is reinstalled.
    
    0 讨论(0)
  • 2020-11-28 03:21

    Have them create a testflightapp.com account.

    This is very useful for beta testing - which I'm guessing is what you need the udids for.

    You can send them a download link to your app (found in the permissions tap at the bottom of the page) and it will tell them their udid hasn't been validated yet. It will then tell them their udid! They can copy and paste this and text it to you.

    0 讨论(0)
  • 2020-11-28 03:21

    Or use my solution here www.my-mo.co.uk/device/deviceinfo.php will let you access UDID and email it to whoever you choose too.

    0 讨论(0)
  • 2020-11-28 03:23

    If you are using a mac, you can get the UUID out of the "System Report" available from "About this Mac." With the device attached, open the USB section and click on iPhone. The UUID appears under "Serial Number"

    0 讨论(0)
  • Steps to find the UDID from IPhone and IPad Without Using itunes

    1. Open below link in your iPhone or iPad : - http://get.udid.io/

    2. Click on the Button Green color - Tap to find UDID

    3. Get your UDID will Appear, Click on the right side top INSTALL button

    4 . UDID will appear Copy the UDID.

    0 讨论(0)
  • 2020-11-28 03:26

    TestFlight seems to be able to extract the UDID once the user signs up:

    https://testflightapp.com

    0 讨论(0)
提交回复
热议问题