iOS | deployment issue

Mobile Testing, Android App Testing.
dominik_F
Posts: 15
Joined: Thu May 09, 2019 10:03 am

iOS | deployment issue

Post by dominik_F » Mon Nov 11, 2019 3:02 pm

Hi all,

I'm trying to set up an iOS testing project and have issue in deploying the instrumented IPA.
The ipa itself as well as the p12 and mobileprovision file seem to be okay, as I can successfully create the -instrumented.ipa
If i check the "Deploy the App under test" box and select my test device (iPhone 6S with iOS 13.2.2) and destination, it gives me an error during the "Deploying app".

I attached the Screenshot of the error shown

Error Details are (in text format):
System.Exception: Failed to install the iOS app 'C:\Users\dev\Documents\Ranorex\InstrumentedIpa\1UniConnect-instrumented.ipa' to device '94dd593835f40a8faa41d4c809061f6b86829bee'. Additional details: APPLICATION VERIFICATION FAILED: Bad code signing. Consider that you are using a valid IPA package with valid signing data (p12, mobileprovision).
bei Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.InstallApp(String udid, String archivePath)
bei Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.Deploy(IIosOptions options, String targetIpaPath, IosAppInfo appInfo, IEnumerable`1 deviceInfos, Action`2 progressCallback)
bei Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.InstrumentInternal(IOptions options, Action`2 progressCallback, Action`1 msgCallback)
bei Ranorex.Plugin.Mobile.Tools.Ios.IosToolRunner.Instrument(IOptions options, Action`2 progressCallback, Action`1 msgCallback)
bei Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.IosWorker.Run()
bei Ranorex.Controls.Instrumentation.IosResultPage.bgw_DoWork(Object sender, DoWorkEventArgs e)


best regards,
Dominik
Attachments
iOS_Instrumentation.PNG
screenshot
iOS_Instrumentation.PNG (72.04 KiB) Viewed 1145 times

dominik_F
Posts: 15
Joined: Thu May 09, 2019 10:03 am

Re: iOS | deployment issue

Post by dominik_F » Mon Nov 11, 2019 3:33 pm

hi,

I didn't use a dev profile mobileprovision file.
I got the correct file from my iOS developer.
Can be seen as resolved.

BenSherman
Posts: 1
Joined: Fri Nov 15, 2019 7:07 pm
Location: https://deployplace.com/

Re: iOS | deployment issue

Post by BenSherman » Fri Nov 15, 2019 7:18 pm

I had the same problem with deployment once, at first I could not understand what the problem was, and then everything turned out to be quite simple.

samiglan
Posts: 2
Joined: Thu Mar 26, 2020 6:44 pm

Re: iOS | deployment issue

Post by samiglan » Fri Mar 27, 2020 12:46 pm

Hi,

We are also facing the same issue while trying to instrument & deploy our IPA through Ranorex.

The build that we are using is not a playstore one and our devices are already provisioned to use the mobile provisioning files.

PFB the similar error that we are getting:
""System.Exception: Failed to install the iOS app 'C:\Users\shashjai\Documents\Ranorex\InstrumentedIpa\Acrobat_art-instrumented.ipa' to device '9dbf3a7a80ee406428438f6da590d766013236ff'. Additional details: APPLICATION VERIFICATION FAILED: Bad code signing. Consider that you are using a valid IPA package with valid signing data (p12, mobileprovision).""


Ben Sherman- Could you help us identifying the cause and find a solution

Regards,
Sarthak
Attachments
iOSInstrumentationIssue.png
iOSInstrumentationIssue.png (273.49 KiB) Viewed 269 times

User avatar
mayo
Posts: 22
Joined: Fri Dec 28, 2018 7:42 pm

Re: iOS | deployment issue

Post by mayo » Tue Mar 31, 2020 8:24 pm

Hello,

99% of the time this error is caused by a bad mobile provisioning or p.12 file. The easiest way to test this is to have Ranorex Support instrument and deploy your IPA to one of their test devices. I recommend creating a ticket and provide the IPA.


https://www.ranorex.com/support-query/

Cheers,