In general, model matching should work such that '<model> 1st generation' matches '<model>'
<rdar://problems/62986242>
Created attachment 398886 [details] Patch
Comment on attachment 398886 [details] Patch rs=me
Comment on attachment 398886 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=398886&action=review > Tools/Scripts/webkitpy/xcode/device_type_unittest.py:164 > + self.assertTrue(DeviceType.from_string('iPhone SE') == DeviceType.from_string('iPhone SE 1st generation')) Is this the actual string? I thought that there were parentheses there.
Created attachment 398893 [details] Patch
(In reply to Alexey Proskuryakov from comment #4) > Comment on attachment 398886 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=398886&action=review > > > Tools/Scripts/webkitpy/xcode/device_type_unittest.py:164 > > + self.assertTrue(DeviceType.from_string('iPhone SE') == DeviceType.from_string('iPhone SE 1st generation')) > > Is this the actual string? I thought that there were parentheses there. There are, and I missed a check we need in the case that we don't have an existing simulator with the type. Uploaded a new patch.
Created attachment 398896 [details] Patch for landing
Committed r261421: <https://trac.webkit.org/changeset/261421> All reviewed patches have been landed. Closing bug and clearing flags on attachment 398896 [details].