1.0.1
Install via Homebrew 🍺
For new installs use
brew install chargepoint/xcparse/xcparse
To upgrade use
brew upgrade xcparse
Changes
- Implemented a workaround for xcresulttool's crash in Xcode 11.1 and below when non-LATIN1 characters are used in the attachment/screenshot destination directory path #30. With xcparse, this would occur when the name of the test run configurations or test device model (like iPhone Xʀ) contained non-LATIN1 characters. It could also occur if you have any folder in your destination's absolute path that contained non-LATIN1 characters (like
/Users/abotkin/Desktop/한국어/screenshots
).
In the case of test run configurations & test device model, xcparse will now determine if you're on an affected version of xcresulttool. If so, it'll provide a warning & will do a lossy conversion of the strings to ASCII. This does mean some folders will be lost in cases where they resolve to ASCII characters that cause a collision. For example, test run configs "한국어" & "중국어" will both resolve to "???" & attachments for both will appear there. A special exception is made for "iPhone Xʀ" which becomes "iPhone XR" if you're using Xcode 11.0 to Xcode 11.1.
In the case of the destination's absolute path, xcparse will see if you're on an affected version & if so, will hard-fail the attachment/screenshot extraction if your destination's absolute path will cause xcresulttool to crash.
xcparse users are encouraged to upgrade Xcode 11.2.1 where the xcresulttool crash has been fixed by Apple. The workaround above is not applied on such fixed versions.
Thanks @vince4 for the report!