Hi, I'm inserting a LC_LOAD_DYLIB before LC_CODE_SIGNATURE. This means adding a new file.dylib inside the IPA (app). I haven't changed the LC_CODE_SIGNATURE values. Codesign on Mac does create a correct ipa that installs and loads the dylib on start.
Im guessing that adding new content is not contemplated by iSign. That would need to modify the LC_CODE_SIGNATURE with new hash etc. ? Am I right ?
Using iSign the App does not install:
Installing 'com.hp.testapp.UICatalog-NI'
Install: CreatingStagingDirectory (5%)
Install: ExtractingPackage (15%)
Install: InspectingPackage (20%)
Install: TakingInstallLock (20%)
Install: PreflightingApplication (30%)
Install: InstallingEmbeddedProfile (30%)
Install: VerifyingApplication (40%)
ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008019: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FWN9Ch/extracted/Payload/UICatalog_NI.app : 0xe8008019 (The application does not have a valid signature.)
Hi, I'm inserting a LC_LOAD_DYLIB before LC_CODE_SIGNATURE. This means adding a new file.dylib inside the IPA (app). I haven't changed the LC_CODE_SIGNATURE values. Codesign on Mac does create a correct ipa that installs and loads the dylib on start.
Im guessing that adding new content is not contemplated by iSign. That would need to modify the LC_CODE_SIGNATURE with new hash etc. ? Am I right ?
Using iSign the App does not install:
Installing 'com.hp.testapp.UICatalog-NI' Install: CreatingStagingDirectory (5%) Install: ExtractingPackage (15%) Install: InspectingPackage (20%) Install: TakingInstallLock (20%) Install: PreflightingApplication (30%) Install: InstallingEmbeddedProfile (30%) Install: VerifyingApplication (40%) ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008019: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.FWN9Ch/extracted/Payload/UICatalog_NI.app : 0xe8008019 (The application does not have a valid signature.)
I'd appreciate any help. Thanks.