AirtestProject / AirtestProject/iOS-Tagent

Xcode 12.0 iOS 13.7 - [XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x10484eaf0

オープン
#182 コメント 23 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
722
フォーク
194
PR マージ指標
30日以内にマージされた PR はありません

説明

Xcode 12.0
iOS 13.7

**The WebAgentRunner worked perfectly on iOS 13.7 a day before the Xcode update**
After the update, running the Test in Xcode raises the exception:

```
libsystem_kernel.dylib`__pthread_kill:
0x1c933f984 <+0>: mov x16, #0x148
0x1c933f988 <+4>: svc #0x80
-> 0x1c933f98c <+8>: b.lo 0x1c933f9a8 ; <+36> **Thread 5: "+[XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x10484eaf0"**
0x1c933f990 <+12>: stp x29, x30, [sp, #-0x10]!
0x1c933f994 <+16>: mov x29, sp
0x1c933f998 <+20>: bl 0x1c931c714 ; cerror_nocancel
0x1c933f99c <+24>: mov sp, x29
0x1c933f9a0 <+28>: ldp x29, x30, [sp], #0x10
0x1c933f9a4 <+32>: ret
0x1c933f9a8 <+36>: ret
```

Full Stack:
2020-09-18 13:40:17.128411+0300 WebDriverAgentRunner-Runner[1127:321373] Running tests...
Test Suite 'All tests' started at 2020-09-18 13:40:17.833
Test Suite 'WebDriverAgentRunner.xctest' started at 2020-09-18 13:40:17.833
Test Suite 'UITestingUITests' started at 2020-09-18 13:40:17.833
t = nans Suite Set Up
2020-09-18 13:40:17.852203+0300 WebDriverAgentRunner-Runner[1127:321373] [User Defaults] Couldn't write values for keys (
KeyboardAutocorrection
) in CFPrefsPlistSource<0x283622f00> (Domain: com.apple.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
2020-09-18 13:40:17.860041+0300 WebDriverAgentRunner-Runner[1127:321373] [User Defaults] Couldn't write values for keys (
KeyboardPrediction
) in CFPrefsPlistSource<0x283622f00> (Domain: com.apple.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
2020-09-18 13:40:17.860904+0300 WebDriverAgentRunner-Runner[1127:321373] [User Defaults] Couldn't write values for keys (
KeyboardShowPredictionBar
) in CFPrefsPlistSource<0x283622f00> (Domain: com.apple.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
2020-09-18 13:40:17.863284+0300 WebDriverAgentRunner-Runner[1127:321373] [User Defaults] Couldn't write values for keys (
DidShowGestureKeyboardIntroduction
) in CFPrefsPlistSource<0x283622f00> (Domain: com.apple.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
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2020-09-18 13:40:17.864
t = 0.00s Set Up
2020-09-18 13:40:17.869654+0300 WebDriverAgentRunner-Runner[1127:321373] Built at Apr 15 2020 16:38:43
2020-09-18 13:40:17.880909+0300 WebDriverAgentRunner-Runner[1127:321373] ServerURLHere->http://192.168.10.244:8100<-ServerURLHere
2020-09-18 13:40:17.881787+0300 WebDriverAgentRunner-Runner[1127:321600] +[XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x10484eaf0
2020-09-18 13:40:17.886415+0300 WebDriverAgentRunner-Runner[1127:321600] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x10484eaf0'
*** First throw call stack:
(0x19d4165ac 0x1b149042c 0x19d325324 0x19d419130 0x19d41b420 0x106e42efc 0x106e42eb0 0x19d014ac8 0x19d016250 0x106e42e88 0x106e20d84 0x19d014ac8 0x19d016250 0x106e20d60 0x106e2053c 0x19d012fd0 0x19d014ac8 0x19d01bc08 0x19d01c734 0x19d026528 0x1e4968908 0x1e496f77c)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[XCTestDriver sharedTestDriver]: unrecognized selector sent to class 0x10484eaf0'
terminating with uncaught exception of type NSException
(lldb)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。