Can not install developer certified iOS app using ideviceinstaller or fruitstrap

StackOverflow https://stackoverflow.com//questions/25060368

  •  21-12-2019
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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");
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top