Open trufae opened 5 years ago
@trufae To me, this is still an issue.
I've ran from xcode which just works fine. I see which Development Signing certificate is used. Using security find-identity -p codesigning -v
to get the identifier, get the correct provisioning profile from either the already build IPA (embedded.mobileprovisioning) or get it from ~/Library/MobileDevice/Provisioning Profiles
.
Then I run
applesign -i E3990F.... -m embedded.mobileprovision -o patched_codesign.ipa MyApp-Preview.ipa
unzip patched_codesign.ipa
ios-deploy --bundle Payload/*.app --debug -W
Getting error:
[ 70%] VerifyingApplication
2020-10-26 13:04:55.092 ios-deploy[17660:233562] [ !! ] Error 0xe800003a: The application could not be verified. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
I've visited all the stackoverflow answers which basically say, delete the app from the device, I did that.
I also tried to use ios-deploy of the original ipa, that works fine.
Any ideas?
Different things:
I added a debugging option in appleisng that generates a json with the old/new signing info for debugging and comparing problems like this. ill reopen the issue
If the user uses -m and -i it must verify that both match, otherwise the signing will work but the installation will fail.