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

Don't overwrite INFOPLIST_FILE setting with info path #443

Merged
merged 7 commits into from
Dec 1, 2018

Conversation

feischl97
Copy link
Contributor

Resolves #440.
Just added a check if for a config INFOPLIST_FILE is already set in settings. If it is it will not be overwritten with the generated Info.plist.
I also updated projectspec.md to reflect this change.
I did not add any tests, are they necessary?

Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

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

Thanks @feischl97!

It would be great if you can add a changelog entry, and also a test.
The test can go after this one, but be called info doesn't override info.plist setting
https://github.com/yonaskolb/XcodeGen/blob/master/Tests/XcodeGenKitTests/ProjectGeneratorTests.swift#L855
The setup will be similar but adding a custom INFOPLIST_FILE setting, and then checking that the targetConfig still has that value.

Sources/XcodeGenKit/PBXProjGenerator.swift Outdated Show resolved Hide resolved
@yonaskolb yonaskolb changed the title Fix issue 440 Don't overwrite INFOPLIST_FILE setting with info path Nov 23, 2018
@feischl97
Copy link
Contributor Author

Ok I will look into it! 👍
Thanks @yonaskolb

@yonaskolb yonaskolb merged commit 1b9dadb into yonaskolb:master Dec 1, 2018
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.

2 participants