LoginSignup
7
8

More than 5 years have passed since last update.

iOS7でUDID取得アプリ使ってUDIDを取ると頭にFFFFFFFFがついた無効なUDIDになる

Posted at

先日、テスト用のアプリを配布するときにUDIDを頂いたとき、UDIDがFFFFFFFF〜から始まっていました。
桁数は40ケタだったのですが、通常なら英字は小文字なのに全部大文字だったし、頭にFFFFFFFFってどう考えてもおかしいと思って調べてみたら、案の定無効なUDIDだったよう。

Yes. The "FFFFFFFF" UDIDs are wrong. This seems due to the fact that the UDID is now considered a Privacy Topic and thus Apps are not allowed anymore to retrieve them... and iOS returns an obfuscated UDID if called and precedes the first digits with FFFFFFFF. So I guess some of your clients got the UDID via an App on the device.

iOS7でUDID取得アプリ使ってUDIDとると、こうなるみたいです。
iOS 7 Release Notesにも記載がありました。

-[UIDevice uniqueIdentifier] is no longer accepted in submissions to the App Store. In iOS 7, apps that are already on the store or on users’ devices that call this removed API will no longer be returned the UDID. Instead, -[UIDevice uniqueIdentifier] will return a 40-character string starting with FFFFFFFF, followed by the hex value of -[UIDevice identifierForVendor]. It is important to consider how this will affect existing apps. Consider submitting updates that no longer access the UDID.

iOS 7で取得がダメになったのは知っていましたが、このような形式で返されるのは知りませんでした。
iTunesやiPhone構成ユーティリティなどを使って取得しましょう。

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8