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

后端 未结 18 1440
余生分开走
余生分开走 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:13

    I have been using iPhone Configuration Utility to read the UDIDs and install the Development app. Still works fine on iOS7

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

    Try this online tool http://www.easy-udid.com. I tested it on various iOS devices (iOS 6 and 7) and it works fine. Handful tool to quickly add customer's UDID in developer's profile

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

    Please use test flight to obtain UDID from testers but not using untrusted source e.g. http://get.udid.io/

    You can 1. Invite testers in email from test flight webpage. Testers open the link in email and install a profile from test flight. Therefore developers can obtain UDIDs on the test flight webpage. 2. Add those UDIDs on the Apple provisioning portal.

    (Ref: http://help.testflightapp.com/customer/portal/articles/829537-how-does-it-work-)

    The process doesn't require testers to use Mac/ PC to obtain UDID (more convenient). And I think test flight is a company that can be trusted (no worries when passing UDID to this company).

    I have tested this method and it works on iOS 8.

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

    Navigate to http://get.udid.io/ from Safari on your iOS device. It works like a charm and requires neither iTunes nor any other computer. No app installed either.

    EDIT:

    Also, have a look at Getting a device UDID from .mobileconfig if you (understandably) would rather have this .mobileconfig certificate hosted on a server of yours.

    MAKE YOUR OWN:

    Have a copy of the .mobileconfig example hosted on your server and write 2-3 small scripts in your favorite language to handle the following flow:

    1. Navigate on Safari to a URL redirecting to enroll.mobileconfig below. This makes iOS open the Settings app and show the profile.
    2. Upon accepting the profile, iOS switches back to Safari and posts the DeviceAttributes array to the URL specified enroll.mobileconfig.
    3. The POST data will contain a .plist file with the requested attributes (see example below). One of which will be the holy UDID.

    Remark: You should probably have some user friendly messages. Specifically, we even have a step 0. where the user is asked to provide their name and e-mail that we store temporarily in the HTTP session and then redirect the request to the mobileconfig profile. We ultimately match this info with the iPhone data and send a friendly confirmation e-mail. HTH.

    enroll.mobileconfig

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
        <dict>
            <key>PayloadContent</key>
            <dict>
                <key>URL</key>
                <string>http://support.devcorp.com/uuid/returnurl/</string>
                <key>DeviceAttributes</key>
                <array>
                <string>DEVICE_NAME</string>
                <string>UDID</string>
                <string>PRODUCT</string>
                <string>VERSION</string>
                <string>SERIAL</string>
                </array>
            </dict>
            <key>PayloadOrganization</key>
            <string>DevCorp Inc.</string>
            <key>PayloadDisplayName</key>
            <string>Profile Service</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>PayloadUUID</key>
            <string>C5FB9D0D-0BE7-4F98-82CC-5D0EA74F8CF8</string> <!-- any random UUID -->
            <key>PayloadIdentifier</key>
            <string>com.devcorp.profile-service</string>
            <key>PayloadDescription</key>
            <string>This is a temporary profile to enroll your device for ad-hoc app distribution</string>
            <key>PayloadType</key>
            <string>Profile Service</string>
        </dict>
    </plist>
    

    sample .plist POSTed by the iPhone to the given URL

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>PRODUCT</key>
        <string>iPhone4,1</string>
        <key>SERIAL</key>
        <string>DNPGWR2VCTC0</string>
        <key>UDID</key>
        <string>b01ea7bc2237fed21bfe403c6d2b942ddb3c12c3</string>
        <key>VERSION</key>
        <string>11A465</string>
    </dict>
    
    0 讨论(0)
  • 2020-11-28 03:18

    diawi.com has worked for me, no need for connecting iPhone with cable or etc.: just follow their "My Device" tab that will lead you to install their provision profile and then display the UDID and add option to send it by Email.

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

    If any of your users are running linux they can use this from a terminal:

    lsusb -v 2> /dev/null | grep -e "Apple Inc" -A 2
    

    This gets the all the information for your connected usb devices and prints lines with "Apple Inc" including the next 2 lines.

    The result looks like this:

    iManufacturer           1 Apple Inc.
    iProduct                2 iPad
    iSerial                 3 7ddf32e17a6ac5ce04a8ecbf782ca509...
    

    This has worked for me on iOS5 -> iOS7, I haven’t tried on any iOS4 devices though.

    IMO this is faster then any Win/Mac/Browser solution I have found and requires no "software" installation.

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