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

Attempting to updateBuildProperty results in error

Open jfrumar opened this issue 11 years ago • 0 comments

I am trying to update my build properties by setting 'CODE_SIGN_RESOURCE_RULES_PATH' (which is required to work around an apple bug).

When I attempt to set that property, I get the error:

TypeError: Object object has no method 'hasOwnProperty' at propReplace (/Users/jules/Documents/workspace/groupahead-mvp/node_modules/xcode/lib/pbxProject.js:627:17) at pbxProject.updateBuildProperty (/Users/jules/Documents/workspace/groupahead-mvp/node_modules/xcode/lib/pbxProject.js:450:5)

When I inspect, it looks like the recursive propReplace is calling obj.hasOwnProperty but the object doesn't have that method.

jfrumar avatar Jan 16 '15 19:01 jfrumar