Skip to content

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