nowsecure / node-applesign

NodeJS module and commandline utility for re-signing iOS applications (IPA files).
https://www.nowsecure.com
MIT License
420 stars 77 forks source link

TypeError: Cannot read property 'cmds' of undefined #61

Closed dweinstein closed 7 years ago

dweinstein commented 7 years ago
/Users/user/.nvm/versions/node/v7.5.0/lib/node_modules/applesign/depsolver.js:85
      const libs = exec.cmds.filter((x) => {
TypeError: Cannot read property 'cmds' of undefined
    at fs.readFile (/Users/user/.nvm/versions/node/v7.5.0/lib/node_modules/applesign/depsolver.js:85:24)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:416:3)

using https://github.com/nowsecure/node-applesign/commit/ab8f4ea390123634b0697225bbd911ad0f7cc046

cc @jporter22

dweinstein commented 7 years ago

this seems to happen on a framework that is missing the LC_CODE_SIGNATURE cmd.