Allow dollar signs in unquoted strings #58
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From what I gathered, the true specification of the ASCII Plist format isn't available, so we have to end up guessing the spec according to what Xcode does?
In my testing, it looks like plist string values with
$
in them (in whatever position) are unquoted too. Here is an example pbxproj from a fresh new Xcode project on Xcode 12.5 (behavior confirmed on older Xcode versions as well): https://gist.github.com/arthuralee/8d89207f63bb3e5ba4c4758ede733904#file-project-pbxproj-L423-L424