Timeout when connecting to iOS 5s phone- cannot make IPA

Mobile Testing, Android App Testing.
kristian_3shape
Posts: 1
Joined: Tue May 06, 2014 2:19 pm

Timeout when connecting to iOS 5s phone- cannot make IPA

Post by kristian_3shape » Tue May 06, 2014 2:31 pm

Hi,
this has been raised a few times on the forum, but no good answers has been provided
iOS 7.0 on 5s
Ranorex 5.01
Windows 8.1

Issue 1)
Using your test app and the latest version 151a of the instrumentation file,

0) The app is uploaded as debug to the iPhone from Mac - phone is not restarted
1) I can see the iPhone in the Ranorex set-up
2) I can see the App in the Ranorex set-up
3) When I choose app and relevant iPhone, I then press start in the recording window

3a) I see the application taking the focus of the iPhone (maximizes), then nothing happens and after the timeout, the follow window message comes on the Windows screen

---------------------------
Error
---------------------------
Failed to start app 'com.jflan.MiniKeePass-copy' because the app started event was not received within the specified timeout of '00:00:10'. The operation has timed out.
---------------------------
OK
---------------------------
So the test stops before recording

Issue 2)
We tried to build an IPA, to see if this could help with the above problem, here we can do the debug session (i.e. upload and run on the phone)
But when we try to create an IPA - we get the following (link) error:

ld: warning: tentative definition of '_lastTouchesBegan' with size 8 from '/Users/nis wegmann/Downloads/RxMiniKeePass/libRxAutomationUni_151.a(RxUiTextEventsHelper.o)' is being replaced by real definition of smaller size 4 from '/Users/nis wegmann/Downloads/RxMiniKeePass/libRxAutomationUni_151.a(UIControl+RxAutomation.o)'
Undefined symbols for architecture armv7:
"_kCFStreamErrorDomainSystemConfiguration", referenced from:
-[RxAsyncSocket errorFromCFStreamError:] in libRxAutomationUni_151.a(RxAsnycSocket.o)
"_kCFStreamErrorDomainNetDB", referenced from:
-[RxAsyncSocket errorFromCFStreamError:] in libRxAutomationUni_151.a(RxAsnycSocket.o)
"_kCFStreamPropertySSLSettings", referenced from:
-[RxAsyncSocket maybeStartTLS] in libRxAutomationUni_151.a(RxAsnycSocket.o)
"_kCFStreamErrorDomainNetServices", referenced from:
-[RxAsyncSocket errorFromCFStreamError:] in libRxAutomationUni_151.a(RxAsnycSocket.o)
"_kCFStreamErrorDomainMach", referenced from:
-[RxAsyncSocket errorFromCFStreamError:] in libRxAutomationUni_151.a(RxAsnycSocket.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Please look into this, as iPhone support was one of the reasons we choose your product.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Timeout when connecting to iOS 5s phone- cannot make IPA

Post by Support Team » Fri May 09, 2014 4:00 pm

Hello Kristian,

Have you tried to increment the connection timeout?
You can find this option in the “Plugin” tab of the “Global Settings” Dialog.

Regarding your second issue:
May I ask you to send us your xCode project or a sample project in which this error appears?
This will help us to analyze the issue in detail.

Regards,
Markus (S)

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Timeout when connecting to iOS 5s phone- cannot make IPA

Post by Support Team » Thu May 15, 2014 1:48 pm

Regarding the second issue:

This error messages will occur when CFNetwork.framework is not linked during the build. Please make sure that CFNetwork.Framework is one of the entries in the 'BuildPhases/Link Binary with Libraries ' settings.

Regards,
Philipp

thbngoc
Posts: 1
Joined: Tue Jan 13, 2015 8:45 am

Re: Timeout when connecting to iOS 5s phone- cannot make IPA

Post by thbngoc » Tue Jan 13, 2015 8:53 am

Hi Support Team,

We are evaluating Ranorex as a candidate for our automation on iOS solution. We are encountering the issue '1' above. We tried to increased the 'Connect timeout' value to maximum (30s) but the issue '1' still occurs.

We are using your MiniKeePass 1.5.2 test app, the Ranorex version is 5.2.2.21596. Please let us know if you need any additional information to diagnose the issue.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Timeout when connecting to iOS 5s phone- cannot make IPA

Post by Support Team » Wed Jan 14, 2015 2:03 pm

Hi thbngoc,

Our directly installable samples from the mobile archive are built with a distribution profile. Therefore, it is not possible to start and stop these applications via USB. Unfortunately you need to start them manually in order to record a test.

Regards,
Markus (S)