Page 1 of 1

iOS ipa command line instrument and deploy timeout

Posted: Wed Apr 04, 2018 8:30 pm
by aashcraft
RE; iOS ipa command line instrument and deploy timeout

How do I change the iOS ipa instrument and/deploy timeout values for the command line instrumentation application?
There is an argument to change to this for an Android apk instrument and deploy via command line instrumentation application.
But I need to change it for an iOS ipa, since I am receiving ...
Error:
Process did not finish within the specified timeout of '00:01:00'.

When running ...
C:\Program Files (x86)\Ranorex 8.1\Bin\Ranorex.Instrumentation.exe /p:ios /u:b1016b0a32936d6e391ce4809f2c6a54b3bd712c /inputpath:C:\Users\<name>\Documents\Ranorex\NOTInstrumentedIpa\<app_name>_4_4_0_14.ipa /k:C:\Users\<name>\Documents\Ranorex\iOSProvisioning\DistCert.p12 /pw:<password> /pp:C:\Users\<name>\Documents\Ranorex\iOSProvisioning\AdHoc__<app_name>_QA-3.mobileprovision

in above "<something>" is run with meaningful and correct values.

I changed the value in settings in Ranorex Studio, but that did not carry over to the command line instrumentation application.

Ranorex 8.1.0

Re: iOS ipa command line instrument and deploy timeout

Posted: Fri Apr 06, 2018 5:39 pm
by aashcraft
I modified the file Global settings - C:\Users\<USER NAME>\AppData\Roaming\RanorexConfig8.xml

Set to a large value, below more than long enough
<plugin.mobile.deploytimeout>
1200000ms
</plugin.mobile.deploytimeout>
<plugin.mobile.instrumenttimeout>
1200000ms
</plugin.mobile.instrumenttimeout>

At first, the deploy continued to timeout and I contacted support.
But the next day, after verifying suggestions from support.
My changes from the earlier day, were successful.

I assume a complete restart of the instrumentation application process was required.