Support Xcode 12.4 + iOS 14.4
See original GitHub issueThe problem
The release candidate is out and it has support for iOS 14.4
Environment
- Appium version (or git revision) that exhibits the issue:
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium:
- Node.js version (unless using Appium.app|exe):
- Npm or Yarn package manager:
- Mobile platform/version under test:
- Real device or emulator/simulator:
- Appium CLI or Appium.app|exe:
Code To Reproduce Issue [ Good To Have ]
-
Install Xcode 12.4 release candidate (12D4e) .
xcinfo
is a really good new tool for this -
Select Xcode 12.4
-
From
master
(b046f0edba2924794f98ed0b25aeaa6d0852cc64)
export PLATFORM_VERSION=12.4
export DEVICE_NAME="iPhone Simulator"
npm run e2e-test
Results:
256 passing (47m)
31 pending
4 failing
1) XCUITestDriver - basics -
get geo location -
should fail because of preference error:
AssertionError: expected promise to be rejected with an error including 'Location service must be' but got '[getGeoLocation()] Error response status: 9, , UnknownCommand - The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. Selenium error: Unhandled endpoint: /session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location -- http://127.0.0.1:8100/ with parameters {\n wildcards = (\n "session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location"\n );\n}'
+ expected - actual
-[getGeoLocation()] Error response status: 9, , UnknownCommand - The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. Selenium error: Unhandled endpoint: /session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location -- http://127.0.0.1:8100/ with parameters {
- wildcards = (
- "session/A5056A77-989A-4681-82F0-7F70928714A4/wda/device/location"
- );
-}
+Location service must be
2) XCUITestDriver - element(s)
interactions
text fields
set value
should be able to type into two text fields:
Error: [hideKeyboard()] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 480000ms exceeded
at exports.newError (node_modules/wd/lib/utils.js:152:13)
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/callbacks.js:36:19
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/webdriver.js:205:5
at Request._callback (node_modules/wd/lib/http-utils.js:89:7)
at Request.self.callback (node_modules/wd/node_modules/request/request.js:185:22)
at Request.<anonymous> (node_modules/wd/node_modules/request/request.js:1161:10)
at IncomingMessage.<anonymous> (node_modules/wd/node_modules/request/request.js:1083:12)
at endReadableNT (_stream_readable.js:1308:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
3) XCUITestDriver - element(s)
interactions
text fields
clear
should be able to clear two text fields:
Error: [hideKeyboard()] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: timeout of 480000ms exceeded
at exports.newError (node_modules/wd/lib/utils.js:152:13)
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/callbacks.js:36:19
at /Users/danielgraham/appium-xcuitest-driver/node_modules/wd/lib/webdriver.js:205:5
at Request._callback (node_modules/wd/lib/http-utils.js:89:7)
at Request.self.callback (node_modules/wd/node_modules/request/request.js:185:22)
at Request.<anonymous> (node_modules/wd/node_modules/request/request.js:1161:10)
at IncomingMessage.<anonymous> (node_modules/wd/node_modules/request/request.js:1083:12)
at endReadableNT (_stream_readable.js:1308:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
4) tvOS
"before all" hook for "should launch com.apple.TVSettings":
Error: Could not create simulator with name 'xcuitestDriverTest', device type id 'Apple TV', with runtime ids 'com.apple.CoreSimulator.SimRuntime.tvOS-14-4', '14.4'
at Simctl.createDevice (node_modules/node-simctl/lib/subcommands/create.js:89:11)
at Context.<anonymous> (test/functional/tv/tvos-e2e-specs.js:23:12)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Xcode 12.4 Release Notes | Apple Developer Documentation
Xcode 12.4 includes SDKs for iOS 14.4, iPadOS 14.4, tvOS 14.3, watchOS 7.2, and macOS Big Sur 11.1. The Xcode 12.4 release supports...
Read more >Xcode - Support - Apple Developer
Xcode Version Minimum OS Required Simulator Swift
Xcode 14.1 macOS Monterey 12.5 iOS 12.4‑16.1 tvOS 12.4‑16.1 watchOS 7‑9.1 Swift 4...
Xcode 14.0.x macOS Monterey 12.5...
Read more >Xcode unsupported iOS version afte… - Apple Developer
Hello everyone, after I've updated my iPhone to iOS beta version 14.5 , Xcode cannot run my app. My Xcode is updated to...
Read more >iOS & iPadOS 14.4 Release Notes - Apple Developer
The iOS & iPadOS 14.4 SDK provides support to develop apps for iPhone, ... on the compatibility requirements for Xcode 12.4, see Xcode...
Read more >Downloads and Resources - Xcode - Apple Developer
Find Xcode downloads, tools, documentation, tutorials, videos, and more. ... Explore these SwiftUI samples using Swift Playgrounds on iPad or in Xcode to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Then, will http://appium.io/docs/en/commands/device/keys/hide-keyboard/ with
keyName: 'next'
parameter work?You could try out the lest beta. The keyboad thing depends on
exists
attribute of https://developer.apple.com/documentation/xctest/xcuielementtypequeryprovider/1500511-keyboards?language=objc (app.keyboard.exists
), so if still it happened, only apple can fix it in probably the simulator side.https://github.com/appium/WebDriverAgent/blob/a1824895274c60798b506f31054e4ce1e0400c71/WebDriverAgentLib/Utilities/FBKeyboard.m#L57