appium/WebDriverAgent

Issues with ios17 and xcode 15 beta 8 - /status api call is crashing xcodebuild

krishtoautomate opened this issue · 6 comments

/status api call is crashing xcodebuild

`xcodebuild build-for-testing test-without-building -project /Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/home/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008101-001C15A20AD2001E -destination id=00008101-001C15A20AD2001E IPHONEOS_DEPLOYMENT_TARGET=17.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent
Command line invocation:
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/xcodebuild build-for-testing test-without-building -project /Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/home/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008101-001C15A20AD2001E -destination id=00008101-001C15A20AD2001E IPHONEOS_DEPLOYMENT_TARGET=17.0 GCC_TREAT_WARNINGS_AS_ERRORS=0 "COMPILER_INDEX_STORE_ENABLE=NO in directory /Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent"

User defaults from command line:
IDEDerivedDataPathOverride = /Users/home/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008101-001C15A20AD2001E
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
COMPILER_INDEX_STORE_ENABLE = NO in directory /Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent
GCC_TREAT_WARNINGS_AS_ERRORS = 0
IPHONEOS_DEPLOYMENT_TARGET = 17.0

Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'WebDriverAgentRunner' in project 'WebDriverAgent'
➜ Explicit dependency on target 'WebDriverAgentLib' in project 'WebDriverAgent'
Target 'WebDriverAgentLib' in project 'WebDriverAgent' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription
Build description signature: 751fedfd3cf7c824d068f954842708a2
Build description path: /Users/home/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008101-001C15A20AD2001E/Build/Intermediates.noindex/XCBuildData/751fedfd3cf7c824d068f954842708a2.xcbuilddata

/Users/home/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj: error: Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')
** TEST BUILD FAILED **

Testing started
2023-09-07 18:59:35.973725-0400 WebDriverAgentRunner-Runner[4709:1792786] [Default] Running tests...
Test Suite 'All tests' started at 2023-09-07 18:59:36.343.
Test Suite 'WebDriverAgentRunner.xctest' started at 2023-09-07 18:59:36.343.
Test Suite 'UITestingUITests' started at 2023-09-07 18:59:36.343.
t = nans Suite Set Up
2023-09-07 18:59:36.432664-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
KeyboardAutocorrection
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.432713-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.433560-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_changedAt"
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.433591-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.433820-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_buildAtChange"
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.433847-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.434060-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_previousValue"
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.434090-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.434294-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_analyzedAt"
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.434318-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.445808-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
KeyboardPrediction
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.445843-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.446130-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
KeyboardShowPredictionBar
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.446158-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 18:59:36.446508-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Couldn't write values for keys (
DidShowGestureKeyboardIntroduction
) in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 18:59:36.446917-0400 WebDriverAgentRunner-Runner[4709:1792786] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x280e17de0> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2023-09-07 18:59:36.451
t = 0.00s Set Up
2023-09-07 18:59:36.453863-0400 WebDriverAgentRunner-Runner[4709:1792786] Built at Aug 17 2023 20:53:35
2023-09-07 18:59:36.464543-0400 WebDriverAgentRunner-Runner[4709:1792786] ServerURLHere->http://192.168.2.17:8100<-ServerURLHere
2023-09-07 18:59:36.468559-0400 WebDriverAgentRunner-Runner[4709:1792943] Using singleton test manager
2023-09-07 19:01:52.474162-0400 WebDriverAgentRunner-Runner[4709:1792786] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_XCTMessagingChannel_RunnerToDaemon _XCT_exchangeProtocolVersion:reply:]: unrecognized selector sent to instance 0x281f2c280'
*** First throw call stack:
(0x1a7e185e0 0x1a0173c00 0x1a7ea8eec 0x1a7d5d7a8 0x1a7e9e860 0x104e157c0 0x1afc5b300 0x1afc5cb3c 0x104e156d0 0x104e00934 0x104da0364 0x104d8c300 0x104dc2160 0x104dc2c50 0x1afc5b300 0x1afc6a78c 0x1afc5b300 0x1afc69998 0x1afc695b0 0x1a7d629bc 0x1a7d5f6c8 0x1a7d5ee18 0x1a6cf54cc 0x104d8b164 0x102dc016c 0x1a7d5d134 0x1a7d5cbcc 0x1032e13b0 0x1032e1368 0x1032e0be8 0x10329d864 0x1032e09c8 0x1032e10b8 0x1032e143c 0x1032d2f8c 0x1032ab650 0x1032d6008 0x1032d2ef4 0x1032949b0 0x1032d2a68 0x1032d43b8 0x1032949b0 0x1032d3e64 0x1032b7418 0x1032b7318 0x1032d3910 0x103280ad4 0x1032ba350 0x1032ba21c 0x1032b9cd0 0x1032b7418 0x1032b7318 0x1032b9c4c 0x1032b9ef4 0x103280ad4 0x1032ba350 0x1032ba21c 0x1032b9cd0 0x1032b7418 0x1032b7318 0x1032b9c4c 0x1032b9ef4 0x103280ad4 0x10
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSXPCInterfaceProxy_XCTMessagingChannel_RunnerToDaemon _XCT_exchangeProtocolVersion:reply:]: unrecognized selector sent to instance 0x281f2c280'
*** First throw call stack:
(0x1a7e185e0 0x1a0173c00 0x1a7ea8eec 0x1a7d5d7a8 0x1a7e9e860 0x104e157c0 0x1afc5b300 0x1afc5cb3c 0x104e156d0 0x104e00934 0x104da0364 0x104d8c300 0x104dc2160 0x104dc2c50 0x1afc5b300 0x1afc6a78c 0x1afc5b300 0x1afc69998 0x1afc695b0 0x1a7d629bc 0x1a7d5f6c8 0x1a7d5ee18 0x1a6cf54cc 0x104d8b164 0x102dc016c 0x1a7d5d134 0x1a7d5cbcc 0x1032e13b0 0x1032e1368 0x1032e0be8 0x10329d864 0x1032e09c8 0x1032e10b8 0x1032e143c 0x1032d2f8c 0x1032ab650 0x1032d6008 0x1032d2ef4 0x1032949b0 0x1032d2a68 0x1032d43b8 0x1032949b0 0x1032d3e64 0x1032b7418 0x1032b7318 0x1032d3910 0x103280ad4 0x1032ba350 0x1032ba21c 0x1032b9cd0 0x1032b7418 0x1032b7318 0x1032b9c4c 0x1032b9ef4 0x103280ad4 0x1032ba350 0x1032ba21c 0x1032b9cd0 0x1032b7418 0x1032b7318 0x1032b9c4c 0x1032b9ef4 0x103280ad4 0x1032ba350 0x1032ba21c 0x1032b9cd0 0x1032b7418 0x1032b7318 0x1032b9c4c 0x1032b9ef4 0x103280ad4 0x103282bf4 0x1032b7418 0x1032b7318 0x103282abc 0x1032f4568 0x1032f46e8 0x1032b3f04 0x10328d0e4 0x1032b3960 0x1032810b0 0x102a09130 0x102a090cc 0x1a7d62b58 0x1a7d6134c 0x1a7d5f24c 0x1a7d5ee18 0x1e941b5ec 0x1aa16c0fc 0x1aa16b738 0x102a09390 0x1ca4f8d44)
libc++abi: terminating due to uncaught exception of type NSException
2023-09-07 19:02:13.645645-0400 WebDriverAgentRunner-Runner[4712:1794451] [Default] Running tests...

Restarting after unexpected exit, crash, or test timeout in -[UITestingUITests testRunner]; summary will include totals from previous launches.

Test Suite 'Selected tests' started at 2023-09-07 19:02:13.846.
Test Suite 'WebDriverAgentRunner.xctest' started at 2023-09-07 19:02:13.847.
Test Suite 'UITestingUITests' started at 2023-09-07 19:02:13.847.
t = nans Suite Set Up
2023-09-07 19:02:13.863649-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
KeyboardAutocorrection
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.863689-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.864174-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_changedAt"
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.864199-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.864406-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_buildAtChange"
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.864428-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.864631-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_previousValue"
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.864658-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.864896-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
"KeyboardAutocorrection_analyzedAt"
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.864926-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.873736-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
KeyboardPrediction
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.873772-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.874072-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
KeyboardShowPredictionBar
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.874486-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
2023-09-07 19:02:13.874855-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Couldn't write values for keys (
DidShowGestureKeyboardIntroduction
) in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
2023-09-07 19:02:13.874880-0400 WebDriverAgentRunner-Runner[4712:1794451] [User Defaults] Not updating lastKnownShmemState in CFPrefsPlistSource<0x281b87840> (Domain: com.apple.keyboard.preferences, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No): 87 -> 87
Test Suite 'UITestingUITests' failed at 2023-09-07 19:02:13.878.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.031) seconds
Test Suite 'WebDriverAgentRunner.xctest' failed at 2023-09-07 19:02:13.879.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.032) seconds
Test Suite 'Selected tests' failed at 2023-09-07 19:02:13.879.
Executed 1 test, with 1 failure (0 unexpected) in 0.000 (0.032) seconds
2023-09-07 19:02:19.398 xcodebuild[21595:407614] [MT] IDETestOperationsObserverDebug: 164.946 elapsed -- Testing started completed.
2023-09-07 19:02:19.398 xcodebuild[21595:407614] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2023-09-07 19:02:19.398 xcodebuild[21595:407614] [MT] IDETestOperationsObserverDebug: 164.946 sec, +164.946 sec -- end

Test session results, code coverage, and logs:
/Users/home/Library/Developer/Xcode/DerivedData/WebDriverAgent-00008101-001C15A20AD2001E/Logs/Test/Test-WebDriverAgentRunner-2023.09.07_18-59-33--0400.xcresult

Testing failed:
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the Signing & Capabilities editor.

Failing tests:
-[UITestingUITests testRunner]

** TEST EXECUTE FAILED **`

Only sometimes it can be reproduced with socket hangup message at client side(postman)

What version of WDA did you try? Have you tried with latest WDA?
The code may be skilled as

if ([(NSObject *)proxy respondsToSelector:@selector(_XCT_exchangeProtocolVersion:reply:)]) {
for now

yes, used latest wda. Only sometimes it can be reproduced with socket hangup message at client side(postman) when /status api is pinged.

Hm, I haven't seen the error after adding below line with latest beta 8, but it potentially indicates your env thought the _XCT_exchangeProtocolVersion was available (unexpected) but did not exist (expected).

if ([(NSObject *)proxy respondsToSelector:@selector(_XCT_exchangeProtocolVersion:reply:)]) {

#761 (comment)

Could it happen via Xcode as well? So launching the WDA via Xcode.app, and send the /status as same. If it could, it is appreciated to add a breakpoint in the if ([(NSObject *)proxy respondsToSelector:@selector(_XCT_exchangeProtocolVersion:reply:)]) { and check the condition is exactly true condition.

If so, potentially the beta 8 Xcode could tell a lie for the selector. We may need to wait for the next version for now

so status is calling this info : @"testmanagerdVersion": @(FBTestmanagerdVersion()),

is their anyway to make this easier. what was the reason behind changing to testmanagerdVersion from os version?

I ll debug more add my findings why its not always reproducible adn only seen few times.

I never seen socket error message in ios before. since this change im seeing socket errors in appium side for ios.

This is unclear what caused the error that was not reachable by respondsToSelector. Please create a new issue in the appium's main repository with logs instead of here. (We easily to notice new issues then)