Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMDeviceInstallApplication failed: -402653058 #3

Open
xtreme-daniel-lee opened this issue Oct 12, 2012 · 4 comments
Open

AMDeviceInstallApplication failed: -402653058 #3

xtreme-daniel-lee opened this issue Oct 12, 2012 · 4 comments

Comments

@xtreme-daniel-lee
Copy link

Hello,

I am using fruitstrap well, in Mountain Lion. However, when trying on a Jenkins box running Lion (10.7.4), i can get up to 70% installed ([ 70%] "VerifyingApplication") before the error AMDeviceInstallApplication failed appears.

Does anyone know why this is happening, or how it can be worked around? Please help, thanks.

Dan

@Connorhd
Copy link

Have you tried installing the application manually through iTunes or Xcode from that box? You can sometimes get a better error message that way. You can also check the devices console log from Xcode to see if it logged a more readable error.

@xtreme-daniel-lee
Copy link
Author

Tried to manually install via iTunes; "application failed to install". Opening Xcode and viewing the console logs shows the following:

Oct 12 12:14:34 unknown installd[1881] : 00381000 verify_signer_identity: Could not copy validate signature: -402620391
Oct 12 12:14:34 unknown installd[1881] : 00381000 preflight_application_install: Could not verify executable at /var/tmp/install_staging.B3mQAF/*******-iPhone.app
Oct 12 12:14:34 unknown installd[1881] : 00381000 install_application: Could not preflight application install
Oct 12 12:14:34 unknown mobile_installation_proxy[1880] : handle_install: Installation failed
Oct 12 12:14:34 unknown installd[1881] : 00381000 handle_install: API failed
Oct 12 12:14:34 unknown installd[1881] : 00381000 send_message: failed to send mach message of 71 bytes: 10000003
Oct 12 12:14:34 unknown installd[1881] : 00381000 send_error: Could not send error response to client

Looks like a signing issue that i will need to look into.

@Connorhd
Copy link

you may find "codesign -vvv iPhone.app" and "codesign -dvv iPhone.app" output helpful

@xtreme-daniel-lee
Copy link
Author

Thank you Connor. Issue was resolved using codesign:

codesign -s "[name of cert in my keychain]" [path to my .app] -f

I'm still trying to figure out why this works on one version of my app and not another. For the other app, Xcode logs show "unrecognized status -67068 from codsigning library".

Fortunately, I've gotten past half a road block with your suggestion. Thanks again, will continue moving forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants