You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves: #756
- Reading the same `xcschememanagement.plist` file was resulting in different `XCSchemeManagement` objects
- This was due to the internal conversion of the `schemeUserState` from a dictionary to an array without sorting the dictionary key
- This lead to having differently ordered `XCSchemeManagement` arrays each time the plist was read
- Wrties were stable (going from `XCSchemeManagement` > `plist`) is most likely why this wasn't previously noticed
- To address this, they dictionary elements are sorted by key name
- Read stability tests have also been added and fixture updated to include more entries to aid with testing
Note: it's unclear why the `schemeUserState` is stored as an array, it's a candidate to be changed to dictionary in the next major release as it would be a breaking change to do so now without any compatibility accessors to maintain the same public API.
Test Plan:
- Verify unit tests pass
- Verify writing an `xcschememanagement.plist` file remains unchanged by these changes
0 commit comments