Skip to content

Tolerate multiple and preceding/trailing spaces in project settings #46

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omnicognate
Copy link

I was tripped up by the GCC_PREPROCESSOR_DEFINITIONS one. In my project, this setting is "$(inherited) COCOAPODS=1", and $(inherited) is empty, so the result is that xcodebuild --showSettings lists it as " COCOAPODS=1", and it gets parsed as two preprocessor definitions with the first being empty. This confuses sourcekitten and the result is that I get no completions. The change allows extra spaces in these parameters.

…aths, compiler flags and preprocessor definitions
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.

1 participant