node-xcode
node-xcode copied to clipboard
add resource to Resources/<subfolder> - is this possible?
I wonder is this lack of property of options argument, or missing functionality?
Need to add new image into /Resources/splash but instead it adds it to /Resources
PS I'm apologize in case this issue is rather a discussion forum item, but I see no appropriate link I can use for that.
PSS For now I've solved the issue by overwriting addToResourcePbxGrooup() method with
xcode.project.prototype.addToResourcePbxGrooup = function (file) {
var pluginsGroup = this.pbxGroupByName('splash');
pluginsGroup.children.push(pbxGroupChild(file));
};
It would be nice to specify the group in opts of addResourceFile() method, and pass it into addToResourcePbxGrooup