Question

I got developer certified .ipa file from developement team for automation. I tried to install this .ipa to my iPhone 5 using both ideviceinstaller and fruitstrap but it stucks at 70% and gives following error

AMDeviceInstallApplication failed: -402620395

I think this is related to provisioning profile used while creating build. Do I need to send them UDID of my device and ask them to add it their provisioning profile?

Thanks & Regards Changdeo

Was it helpful?

Solution

If their developer account is a standard Apple Developer Program (individual or company), they have to provision your UDID in their Provisioning Portal, regenerate the MobileProvisioning file and sign the app again using this file.

If their developer account is an Apple Enterprise Developer Program account, provisioning UDIDs is not necessary, but App Store distribution is not possible.

OTHER TIPS

Yes, you have to provide dev team with UDID of your device. Dev team will than add your UDID in ADHOC Provisioning profile.

AMDeviceInstallApplication failed: -402620395 is mostly provisioning profile issue.

I was having this issue and none of the aforementioned solutions helped. The app was building fine on xcode but not when launching via my code. Turned out my DesiredCapabilities were wrong.

Reduced them to the basic values only and it all worked correctly:

   capabilities.setCapability("deviceName", "iPhone"); // Doesnt seem to care about actual name
   capabilities.setCapability("udid", "88111111111111111111111438");
   capabilities.setCapability("bundleId", "/Users/charlies/Library/Developer/Xcode/DerivedData/SafariLauncher-emehinyoruvvntgoasdscogolux/Build/Products/Debug-iphoneos/SafariLauncher.app");
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top