-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Long application start when creating a session with shouldWaitForQuiescence=false on Xcode 10 #993
Comments
I am also seeing this issue in the version of WebDriverAgent packaged with Appium 1.9.0. In Appium 1.9.1 waitForQuiescence=false is broken. Stack trace:
|
@jamesvanhorn this is a bit different bug. the one that you've posted should be fixed by appium#119 |
thanks for the quick fix |
Should the desired capability for Appium be
? |
How is it going on? Is there someone can handle this? |
same issue here... everything worked perfect before updating xcode and appium |
the same issue. + |
same issue with xcode 10.1 and iOS 12.1.1 and appium 1.10.0 in realdevice. |
Hey guys i think i found a hacky solution to run automation on iOS 12> in real devices |
Does anyone have another solution or is @jswaroop downgrade to XCode 9 the way to go? |
On Xcode 10 with simulators iOS 11.4 and iOS 12
when creating a WebDriver session with desired capability
shouldWaitForQuiescence = false
(or if not setting the capability, it defaults to
false
(in objc code -NO
))then it takes approximately one minute at application launch - i.e. before the method
FBApplication.launch
returns.Example of desired capabilities
When setting
shouldWaitForQuiescence = true
or effectively equal - commenting out the wholeif
block inFBApplication.launch
then the
FBApplication.launch
returns within 5-6 seconds.Below is the part of code in
FBApplication.m
where the method[super launch];
(XCTest framework method) meditates for one minute (but only in case if theaddObserver:self
was executed).As a workaround - creating WebDriver session with capabilities
If I remember correctly, this behaviour is observed since Xcode 10 beta 5
The text was updated successfully, but these errors were encountered: