Skip to content

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

Open
omnicognate wants to merge 1 commit intoterhechte:masterfrom
omnicognate:master
Open

Tolerate multiple and preceding/trailing spaces in project settings#46
omnicognate wants to merge 1 commit intoterhechte:masterfrom
omnicognate:master

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