This app worked great, I published and updated this app multiple times. I just migrated over to swift 3 from swift2.2 and now I get the following error:
XCUIApplication is only available on iOS 9.0 or newer
My iOS Deployment Target in Info is 9.0 (see image below) so I'm not sure what is causing this. Note, I can build and run the app in simulator mode and on a physical device (I tried running on iPhone 6 & 6+ and it works fine). I am concerned going forward without addressing this issue. Any help/suggestions would be greatly appreciated.
Here is a screen grab (below) from *UITests.swift in Xcode of the line associated with this error (XCUIApplication is only available on iOS 9.0 or newer).
我的问题是我在podfile设置deployment-target中有一个安装后挂钩
I had similiar problem in some Pod. In my case running pod deintegrate
and then pod install
fixed the problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.