DanTheMan827 / ios-app-signer

This is an app for OS X that can (re)sign apps and bundle them into ipa files that are ready to be installed on an iOS device.
https://dantheman827.github.io/ios-app-signer
GNU General Public License v3.0
5.64k stars 1.06k forks source link

Version 1.11 seems to be broken #94

Closed 0xKayvan closed 5 years ago

0xKayvan commented 5 years ago

Hi It seems that version 1.11 does not sign frameworks inside the package and signed apps crash upon openning.

Sample crash report:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded: @rpath/libswiftAVFoundation.dylib
Referenced from: /var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/TestApp
Reason: no suitable image found. 
Did find:
/private/var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/Frameworks/libswiftAVFoundation.dylib: code signature invalid for '/private/var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/Frameworks/libswiftAVFoundation.dylib'
/private/var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/Frameworks/libswiftAVFoundation.dylib: code signature invalid for '/private/var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/Frameworks/libswiftAVFoundation.dylib'
/private/var/containers/Bundle/Application/B1EE55E6-.../TestApp.app/Frameworks/libswiftAVFoundation.dylib: stat() failed with errno=1
/private/var/containers/Bundle/Applicati
phenotypic commented 5 years ago

Similar issue here. After signing a .ipa with v1.11 and trying to load it onto an iOS device using Xcode I get the following error:

The executable was signed with invalid entitlements.

I'm using v1.10 for now until the issue is fixed as I'm having no problems with the older version.

spockers commented 5 years ago

I sign iOS jailbreak apps for ad-hoc distribution and had to revert to v1.10 too. v1.11 works for all but one app, Chimera, which installs fine but crashes on launch. The same ipa when signed with v.1.10 runs without issue.

DanTheMan827 commented 5 years ago

I'll have to look into this

it seems like dylibs aren't being signed?

that's a little odd because the app I tested with while coding was Kodi

spockers commented 5 years ago

@DanTheMan827, try Chimera, it will not produce any errors, but it won't run either.

DanTheMan827 commented 5 years ago

Fixed in d36e5e6e6dd0f38fb31e14ca231c1ce5f1883b0c