XCUIApplication is only available on iOS 9.0 or later, swift3

This application did a great job, I published and updated this application several times. I just switched to swift 3 from swift2.2 and now I get the following error:

XCUIApplication is only available on iOS 9.0 or later.

My iOS Deployment Target in Info is 9.0 (see image below), so I'm not sure what causes this. Please note: I can create and run the application in simulator mode and on a physical device (I tried working on iPhone 6 and 6+, and it works fine). I am concerned that I will not deal with this issue. Any help / suggestions would be greatly appreciated.

enter image description here

Here is a screenshot (below) from * UITests.swift in Xcode of the line associated with this error (XCUIApplication is only available on iOS 9.0 or later).

enter image description here

+4
2

, iOS : XOS version for iOS deployment (project)

... (): Xcode Deployment Target for iOS Target Version (Target)

0

, podfile deploy-target

0

Source: https://habr.com/ru/post/1656720/


All Articles