node-xcode icon indicating copy to clipboard operation
node-xcode copied to clipboard

error: if (project.pbxGroupByName('Plugins').path)

Open Michenux opened this issue 11 years ago • 3 comments
trafficstars

XCode 5.1 with an ios project.

I did a simple test and i got the error:

_/node_modules/xcode/lib/pbxProject.js:696 if (project.pbxGroupByName('Plugins').path) ^ TypeError: Cannot read property 'path' of null at correctForPluginsPath (_/node_modules/xcode/lib/pbxProject.js:696:42)

Michenux avatar Jun 04 '14 10:06 Michenux

@Michenux did you ever figure this out? I have a similar problem.

ldeluca avatar Mar 25 '15 19:03 ldeluca

Hi Lisa,

No sorry, i did not find a solution for this.

Michenux avatar Mar 25 '15 19:03 Michenux

This happens when there is no Resources or Plugins group defined but you try to interact (like removing a file from it). You could e.g. wrap your call with a try / catch

mroswald avatar Jun 12 '16 11:06 mroswald