TypeError: Cannot read property 'replace' of undefined
at unquoted (node_modules/xcode/lib/pbxFile.js:67:16)
at detectGroup (node_modules/xcode/lib/pbxFile.js:104:39)
at new pbxFile (node_modules/xcode/lib/pbxFile.js:173:18)
That used to work. Turns out the reason is that self = this before passing to detectGroup points to a global object.