Search code examples
iosiphonexcodeappiumxcode11

Appium automation on simulator and physical device stopped working after updating to Xcode 11


I was able to run automation scripts on simulators and physical devices (with varying success but at least they were working).

Now what seems to happen, on the iPhone 5 for example, it connects and the page appium.io opens, then nothing else happens.

The only error I can see in Appium is "Page 27752/0 not found. Already sent close_frame"

Nothing else has been updated except for Xcode, and I think before this I was on Xcode 9.2

This same script works fine with when automating Safari.

Version details below

MacOS 10.14.5
Appium 1.12.1
Xcode11
iPhone 5 OS 11.2.6

Apologies for any errors, I'm still new to this.

I actually don't know what to do to fix this. I've had so many problems getting automation to work with iOS that I'm reluctant to update anything at the moment. The automation works fine on Safari, just not iOS

I can't see where to attach the appium output log.


Solution

  • I ran into the same issue after updating to Xcode 11, seem like there is an issue with the Command Line Tools, you can roll it back to Xcode 10.2 like this:

    Command Line Tools

    This fixed the issue for me.