Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy to device: Installation failed: AMDeviceInstallApplication returned: 0xe8000050

Tags:

xamarin.ios

I have an app that I am building with MonoTouch on my PC. I get this error when using the deploy to device

/Developer/MonoTouch/usr/bin/mtouch -installdev "/SVN/myapp/bin/iPhone/Release/my.app"
Please ensure your device is connected...
Connected to: myiPad
This application has been signed with a provisioning profile which does not include any device
Connected to: myiPad
Installing application
Installation failed: AMDeviceInstallApplication returned: 0xe8000050
The application was terminated by a signal: SIGHUP

I have tried an iPhone 4 and iPad 2.

I am able to drag the my.app into either iTunes or iPhone configuration utility and install it with no error on either device. It then runs as expected.

like image 212
Ben Butzer Avatar asked Jan 03 '12 12:01

Ben Butzer


2 Answers

The error is this:

This application has been signed with a provisioning profile which 
does not include any device

Rebuild your provisioning profile to include your device. You can do this by plugging your device and from XCode selecting "Use this for development" in the organizer.

like image 141
miguel.de.icaza Avatar answered Oct 08 '22 00:10

miguel.de.icaza


Additionally you can get the same error, but with a different error code if the application is installed already, signed with a different certificate. For example, if its installed with a testing distribution certificate, or other root certificate.

I have personal and work signing keys and this bites me every once in a while.

like image 22
Kenny Avatar answered Oct 08 '22 02:10

Kenny