Open Michenux opened 10 years ago
@Michenux did you ever figure this out? I have a similar problem.
Hi Lisa,
No sorry, i did not find a solution for this.
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
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)