-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timed out waiting for UIAutomation run-loop Error while writing to fifo. #368
Comments
Is it possible that sometimes your app is signed with a distribution profile? Calabash only works with developer profiles.
Yeah. It is weird. Pull requests welcome.
Neither are we. We also struggle with this problem locally after updating the iOS version on our test devices. My strategy/checklist can be found in the Hot Topics on the wiki: FIFO.
One thing that seems to work is to attach the problem device to another machine and open Xcode. |
Do you still experience this issue on calabash-cucumber 0.17.1? |
This issue persists daily for us on 0.17.1. We're looking into possible solutions. |
I'm seeing this as well with 0.17.1. going to upgrade to the latest to see if that fixes the issue.... |
I finally got this to pop on an iOS Simulator. This is with the @TeresaP patch for 2.0.10.pre1. I have no steps to reproduce (yet). My CoreSimulator environment looks like it is in a good shape (no duplicate CoreSimulatorService processes).
|
Can you confirm that your app is not signed with an Enterprise or Distribution certificate? It must be signed with a Developer certificate. |
@TeresaP Wacky. I just discovered a very interesting edge case where run-loop thinks the app is installed on a simulator, but it is not. This might be causing this FIFO problem on simulators. |
Yes, our app is signed with a Developer certificate. The edge case you mention above is exactly what we're seeing as well. The app is not installed on a simulator, but the error indicates it thinks it is. |
Oh interesting, @jmoody. Good catch! |
There is a misunderstanding. In your report, you see:
That error message was fixed by: calabash/calabash-ios#1006 The edge case I mentioned today appears when targeting iOS Simulators only. Since you are running on devices, this does not apply to your situation. When we see:
it means that the:
4, 5, and 6 usually happen after an iOS update.
I would not rule out device weirdness.
This is why I think your app is signed with a non-Developer cert. How are you deploying the app to the device? |
BTW, I really appreciate your patience. This kind of problem on devices is really frustrating. It happens to me all the time after updating iOS versions - especially when I am testing betas. If you want to convince yourself that this is a problem with Calabash and not instruments or the device, you can follow the steps in this comment. When the problem occurs, don't reinstall the app, try following the steps in that issue comment. |
Today I discussed the possibility of building some tooling with @john7doe to detect the cases where the device is in a bad state.
Number 2. we can implement from ruby: Perform an active Xcode vs. iOS version of device check and fail fast #424 1 and 3 require external tools. I tried:
These all reported that the device was available for case 2. This will not be fixed for 2.1.0, but the FIFO issue for simulators will be fixed with:
ATTN: @krukow @sapieneptus |
Possibly fixed by Restore UIALogger flushing and ensure variables are substituted properly. #430 |
We are seeing the following error semi-frequently, yet intermittently
< EDIT: the gem list was not necessary >
I can resolve this error by uninstalling and reinstalling our app, but am not sure the exact root of the issue. Please let me know if I can provide any further information.
The text was updated successfully, but these errors were encountered: