0
votes

This error is similar to many that others have been citing, with a different spin. I get the error, "Invalid signature. Code object is not signed at all. The binary at path [.../iscroll.js] contains an invalid signature. Make sure you have signed your application with a distribution certificate..." and so on, similar to these problems:

Error itms-90035 - Xcode

XCode Error itms-90035 - Invalid signature?

However, I haven't seen any so far that reference problems with javascript errors, so I wanted to post this question which I'll answer below with my fix.

1

1 Answers

0
votes

The fix I found that worked right away was to remove the assets folder that is created by Cordova. If your build is properly created, only 5 files are needed:

  • index.html file
  • codova.js
  • assets/all.min.css
  • assets/all.min.js
  • assets/app.js

With just this small subset of files, the .js code signing errors disappear, along with any other errors you might be getting from .sh files, etc.

NOTE: We use minified code, and this list is for minified compiles.