"Failed to verify code signature of..." while running on iOS devices

I have the required provisioning profiles and certificates to run automation tests on the hardware device, but i get the error below. Any thoughts?

info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Command failed: /bin/sh -c ideviceinstaller -u f37d0a60e5673d7b0fd373816e317c65cc5c953d -i /Users/hnav/Desktop/ABC.app\nERROR: Install failed. Got error “ApplicationVerificationFailed” with code 0xe800801c: Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.sAmTQv/extracted/TWCTVDev12.app : 0xe800801c (No code signature found.)\n)”,“killed”:false,“code”:128,“signal”:null,“cmd”:"/bin/sh -c ideviceinstaller -u f37d0a60e5673d7b0fd373816e317c65cc5c953d -i /Users/hnav/Desktop/TWCTVDev12.app",“origValue”:“Command failed: /bin/sh -c ideviceinstaller -u f37d0a60e5673d7b0fd373816e317c65cc5c953d -i /Users/hnav/Desktop/ABC.app\nERROR: Install failed. Got error “ApplicationVerificationFailed” with code 0xe800801c: Failed to verify code signature of /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.sAmTQv/extracted/ABC.app : 0xe800801c (No code signature found.)\n”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 7944.077 ms - 1076

Which file you are trying to install .app or .ipa???

Tried both. Same error…

You need signed debug file for automating…

@lostinhogwarts: You are not supposed to use distribution profile to generate the build. Use development profile instead.

1 Like