简体   繁体   中英

Xamarin: Could not install the application AMDeviceSecureInstallApplicationBundle returned: 0xe8008015

I am trying to deploy my app on the device to test.

In Debug mode I can deploy it successfully and it is working perfectly.

But when I am trying to deploy in Release mode it is giving me this error.

error MT1006: Could not install the application
'/Users/development/Library/Caches/Xamarin/mtbs/builds/AppName.iOS/longstring/bin/iPhone/Release/AppName.iOS.app'
on the device 'My iPhone': AMDeviceSecureInstallApplicationBundle returned: 0xe8008015.

Have anyone faced this issue? how I can deploy the App on my testing device in release mode?

I have already tried recreating the certificate and provisioning profile.

I am using visual studio 2019.

I thought I should post the answer to this question.

I found the mistake I was doing with Signing Identity and Provisioning Profile . I was using a Distribution Certificate to deploy in release mode but should be using Ad-Hoc .

Check Your Entitlement plist and Enable / Disable push notification. Then try to debug

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM