khcrysalis / Feather

Feather is a free on-device iOS application manager/installer built with UIKit for quality.
GNU General Public License v3.0
805 stars 47 forks source link

Apps with _CodeSignature/CodeResources fail to install #81

Open zimmra opened 2 weeks ago

zimmra commented 2 weeks ago

IPAs containing _CodeSignature/CodeResources fail to install

Removing the _CodeSignature directory allows them to install

Here is an example CodeResources that was preventing install ```xml files AppIcon60x60@2x.png +5cTtvxzZP642jW0v+j1qcnAmvo= AppIcon76x76@2x~ipad.png +aEN31ax4E/a8fCqc6FM6j7Hwsg= Assets.car O8y9v4zIS9mu0JCye8v5ABiaYBc= Info.plist VcysI085ZATMQf7hGcILazeQn38= LaunchScreen.storyboardc/Info.plist GnMdGFfDuvwAuWJN7FS9ELLozY4= PkgInfo n57qDP4tZfLD1rCS43W0B4LQjzE= SC_Info/Manifest.plist tEyCh4AOPW5BNFfIibi0TndMF8c= Settings.bundle/Root.plist rPBBl9o7qXEp2obDynLEzyegTrA= Settings.bundle/en.lproj/Root.strings hash qjJFm2HUmvXytuorAX4eJ9VRmxs= optional iphone.storyboardc/Info.plist GnMdGFfDuvwAuWJN7FS9ELLozY4= libndi_licenses.txt SLozLzIbKLdQ26NRkEkRx96dhwo= files2 AppIcon60x60@2x.png hash +5cTtvxzZP642jW0v+j1qcnAmvo= hash2 rNe2UF8M+yRLuSt2Z0bUiz9YuBilEUxiiEj9detwx9M= AppIcon76x76@2x~ipad.png hash +aEN31ax4E/a8fCqc6FM6j7Hwsg= hash2 Gv3w+2pNZoYZ8HgfbiKoiP1YOpvl56afd/np/NOqLpo= Assets.car hash O8y9v4zIS9mu0JCye8v5ABiaYBc= hash2 QkBxq7UpVoWPK4aglXo2rFjToGzkEcTRrTv3X71MoPc= LaunchScreen.storyboardc/Info.plist hash GnMdGFfDuvwAuWJN7FS9ELLozY4= hash2 9gq+m2SfIqZdO4RnP+Q5bwx0h1nftPpvwkJZZ8jBiZE= SC_Info/Manifest.plist hash tEyCh4AOPW5BNFfIibi0TndMF8c= hash2 /wNVs99M90uvYzl/WvRDAINEfigrXOQNs975aTIp8x4= Settings.bundle/Root.plist hash rPBBl9o7qXEp2obDynLEzyegTrA= hash2 a9FLBt/VMsb1L45sJBHSMy1IUQQ9ZuseEDnRbCH64Ps= Settings.bundle/en.lproj/Root.strings hash qjJFm2HUmvXytuorAX4eJ9VRmxs= hash2 YVGDcqAr0O0DIL5Nv9HkiBeUeBA/Nb1fXNzS1MijMzE= optional iphone.storyboardc/Info.plist hash GnMdGFfDuvwAuWJN7FS9ELLozY4= hash2 9gq+m2SfIqZdO4RnP+Q5bwx0h1nftPpvwkJZZ8jBiZE= libndi_licenses.txt hash SLozLzIbKLdQ26NRkEkRx96dhwo= hash2 zfvPcJdteDvqq0AKH3sBuBom/TZBl/bqCo4p9KDWbn4= rules SC_Info/NDI HX Camera\.(sinf|supp|supf|supx)$ omit weight 10000 ^.* ^.*\.lproj/ optional weight 1000 ^.*\.lproj/locversion.plist$ omit weight 1100 ^Base\.lproj/ weight 1010 ^version.plist$ rules2 .*\.dSYM($|/) weight 11 SC_Info/NDI HX Camera\.(sinf|supp|supf|supx)$ omit weight 10000 ^(.*/)?\.DS_Store$ omit weight 2000 ^.* ^.*\.lproj/ optional weight 1000 ^.*\.lproj/locversion.plist$ omit weight 1100 ^Base\.lproj/ weight 1010 ^Info\.plist$ omit weight 20 ^PkgInfo$ omit weight 20 ^embedded\.provisionprofile$ weight 20 ^version\.plist$ weight 20 ```
zimmra commented 2 weeks ago

This seems to be limited to the one app ipa I have tried it on so far (NDI HX Camera)

The other apps I am trying to install from IPAs I have are Apollo and Alarmy

Apollo had a _CodeSignature directory present, but even with removing it it doesn't want to let me open the app, giving the error:

Unable to install "Apollo"
This app cannot be installed because its integrity could not be verified

Alarmy does not have a _CodeSignature directory present, so it seems this is not what was causing the same integrity error

Both Apollo and Alarmy have Frameworks and PlugIns directories present, so perhaps those are not being signed properly?

khcrysalis commented 5 days ago

I tried to mitigate this by deleting some files before attempting to sign, try and see if it works