imkira / mobiledevice

Command line utility for interacting with Apple's Private (Closed) Mobile Device Framework
MIT License
672 stars 135 forks source link

!AMDeviceSecureInstallApplication #11

Open ericpolkadoc opened 8 years ago

ericpolkadoc commented 8 years ago

Hi,

Ive been using your module for awhile now, it's worked great. however today Im getting an error

!AMDeviceSecureInstallApplication

when running mobiledevice install_app /directoryName

I cant seem to find any information on the error -- any thoughts?

Thanks for your help in advance.

imkira commented 8 years ago

Hi there. Did you change any setting (app, mac, iOS, device) or something in your workflow?

Unfortunately the error messages are not very informative. The best that I could do would be to print out the error code returned by the function call. That could help, somehow, but it would still not be a human-readable error. Would that help?

imWildCat commented 7 years ago

Same problem, even installation with Xcode

amirrajan commented 7 years ago

I was experiencing the same issue. Installing from brew gave me an !AMDeviceSecureInstallApplication error.

I cloned the repo to dig in and ran make && make install. Reran:

mobiledevice install_app "./RELATIVEPATHTO.app"

And it worked. Maybe it's something wrong with the version released to brew?

Can you confirm @ericpolkadoc and @imWildCat?

amirrajan commented 7 years ago

Also, I can install a developer built version of an app, but not a release version (not sure if that was ever possible since I just started using the tool).

If I try to install a release version of an app, I get the !AMDeviceSecureInstallApplication error.