Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SettingsComparator to handle missing configurations #35

Conversation

marciniwanicki
Copy link
Contributor

Describe your changes
For some projects, SettingsComparator can return enigmatic error messages "ERROR: Configuration not found". We didn't expect to the targets to contain an empty XCConfigurationList but it looks, it's a valid scenario.
Update the logic so an empty list is handled in the same way as missing XCConfigurationList. When one of the targets has a valid configuration object, but the second does not have configuration or has an empty configuration list, "only in..." error will be triggered.

Testing performed
CI

Signed-off-by: Marcin Iwanicki <miwanicki1@bloomberg.net>
@marciniwanicki marciniwanicki force-pushed the feature/fix-settings-comparator-when-missing-configuration branch from df0f37c to 88c8d73 Compare December 10, 2019 14:45
Copy link
Contributor

@kwridan kwridan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@marciniwanicki marciniwanicki merged commit 22da17f into master Dec 10, 2019
@marciniwanicki marciniwanicki deleted the feature/fix-settings-comparator-when-missing-configuration branch December 10, 2019 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants