alunny / node-xcode

tools and utilities for working with xcode/ios projects
Apache License 2.0
226 stars 105 forks source link

Attempting to updateBuildProperty results in error #39

Open jfrumar opened 9 years ago

jfrumar commented 9 years ago

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.