fix Xcode variable parsing