sauce-archives / isign

Code sign iOS applications, without proprietary Apple software or hardware
Other
756 stars 316 forks source link

Some apps cannot be signed #101

Closed ghost closed 7 years ago

ghost commented 7 years ago

With some apps I am able to sign them without any issue at all, but for some I get the error below. What exactly does this mean? What's wrong with the ipa file?

Traceback (most recent call last):
  File "/usr/local/bin/isign", line 190, in <module>
    isign.resign(app_path, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/isign/isign.py", line 76, in resign
    info_props)
  File "/usr/local/lib/python2.7/dist-packages/isign/archive.py", line 395, in resign
    ua.bundle.resign(signer, provisioning_profile)
  File "/usr/local/lib/python2.7/dist-packages/isign/bundle.py", line 240, in resign
    super(App, self).resign(signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/bundle.py", line 167, in resign
    self.sign(signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/bundle.py", line 142, in sign
    self.sign_dylibs(signer, self.path)
  File "/usr/local/lib/python2.7/dist-packages/isign/bundle.py", line 119, in sign_dylibs
    dylib.sign(self, signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/signable.py", line 143, in sign
    offset, new_codesig_data = self._sign_arch(arch, app, signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/signable.py", line 91, in _sign_arch
    arch['codesig'].resign(app, signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/codesig.py", line 289, in resign
    self.set_requirements(signer)
  File "/usr/local/lib/python2.7/dist-packages/isign/codesig.py", line 119, in set_requirements
    req_blob_0 = requirements.data.BlobIndex[0].blob
IndexError: list index out of range
delin commented 7 years ago

IPA not signed before, your need: https://github.com/saucelabs/isign/blob/master/isign/makesig.py#L181 or try: https://github.com/apperian/isign/tree/develop

ghost commented 7 years ago

@delin Thank you for the links but I am not sure what to do with that fast link and I tried downloading that repository in the second link but couldn't get it to work. It just doesn't install