LucianoPAlmeida / variable-injector

Continuous Integration Tool for Swift Projects
MIT License
100 stars 20 forks source link

Injector doesn't work with Xcode 11 #4

Closed vladvlasov256 closed 4 years ago

vladvlasov256 commented 4 years ago

The tool doesn't change variables if it's running in Xcode 11.

The root cause: with a new Swift toolchain token kind for string constants is stringSegment not stringLiteral.

It somehow works with C-headers which can be used as a workaround. But it replaces not only the constant but some code below.