ChargePoint / xcparse

Command line tool & Swift framework for parsing Xcode 11+ xcresult
MIT License
392 stars 47 forks source link

Arrays of XCResultValueTypes do not parse correctly #52

Closed abotkin-cpi closed 4 years ago

abotkin-cpi commented 4 years ago

Change Description: This change addresses an issue where arrays (such as [Double] in the performance metrics object) were not properly being decoded. This was due to the need to decode into the intermediate type of XCResultValueType in order to get to the true values underneath.

Test Plan/Testing Performed: Added the unit test that @OdNairy gave in #51. If we get permission to use his sample xcresult in the repo, will need to add a few more unit tests to double-check the values per that xcresult.