Skip to content

UDID format change with iPhone XS and XS Max #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
umutuzgur opened this issue Sep 21, 2018 · 5 comments
Closed

UDID format change with iPhone XS and XS Max #276

umutuzgur opened this issue Sep 21, 2018 · 5 comments

Comments

@umutuzgur
Copy link

Hi there,

With the release of iPhone XS and XS Max, the iPhone udid format changed and it became a value of 25 digits with a hyphen in between. ios_webkit_debug_proxy command line client with the argument -c is no longer valid. The regex to check the udid length is hardcoded to 40 but is now 25. Maybe removing the regex would be the cool solution since it is a command line client and the port number min max number can be passed separately than the udid.

Thanks a lot.

@artygus
Copy link
Collaborator

artygus commented Sep 22, 2018

hi @umutuzgur, thanks for the report! I'd prefer to not break compatibility with existing versions, at least two special characters should be reserved ",:" and possibly "null" value. Can't find any official information about how new UDIDs are going to be structured, only posts over the internet that it's going to be changed to variable length + dashes

@umutuzgur
Copy link
Author

Thanks for the reply @artygus. This is how the new udid looks like 00008020-0016311A0298002E. I tried to fix change the regex but I'm really bad at regex. Sooo, sorry for not being that helpful.

@artygus
Copy link
Collaborator

artygus commented Sep 24, 2018

@umutuzgur I pushed the changes to master, could you please verify the utility recognizes iphone xs? brew reinstall -s ios-webkit-debug-proxy or brew install --HEAD ios-webkit-debug-proxy

@umutuzgur
Copy link
Author

Yeap, checking it. Thanks a lot

@umutuzgur
Copy link
Author

Works perfectly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants