alunny / node-xcode

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

addToOtherLinkerFlags not working in cordova project #100

Open tiagojdf opened 8 years ago

tiagojdf commented 8 years ago

When running myProj.addToOtherLinkerFlags('-force_load'); I get the following error:

TypeError: buildSettings[OTHER_LDFLAGS].push is not a function

It seems it happens when OTHER_LDFLAGS is a single entry (not an array, but rather a string).