Appium 求问下 有大佬遇到这个报错么 appium 客户端工具读取都正常,python 工程里就是启动失败 一直无解...

麻辣蚕豆 · 2023年12月05日 · 最后由 麻辣蚕豆 回复于 2023年12月11日 · 5929 次阅读

2023-12-05 19:57:14.144766+0800 WebDriverAgentRunner-Runner[1554:545969] Running tests...
Test Suite 'All tests' started at 2023-12-05 19:57:14.631
Test Suite 'WebDriverAgentRunner.xctest' started at 2023-12-05 19:57:14.631
Test Suite 'UITestingUITests' started at 2023-12-05 19:57:14.632
    t =      nans Suite Set Up
2023-12-05 19:57:14.633124+0800 WebDriverAgentRunner-Runner[1554:545969] Writing analzed variants.
2023-12-05 19:57:14.648008+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    KeyboardAutocorrection
) in CFPrefsPlistSource<0x281dbdf00> (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-12-05 19:57:14.648440+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    "KeyboardAutocorrection_changedAt"
) in CFPrefsPlistSource<0x281dbdf00> (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-12-05 19:57:14.648806+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    "KeyboardAutocorrection_previousValue"
) in CFPrefsPlistSource<0x281dbdf00> (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-12-05 19:57:14.659386+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    KeyboardPrediction
) in CFPrefsPlistSource<0x281dbdf00> (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-12-05 19:57:14.659807+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    KeyboardShowPredictionBar
) in CFPrefsPlistSource<0x281dbdf00> (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-12-05 19:57:14.660194+0800 WebDriverAgentRunner-Runner[1554:545969] [User Defaults] Couldn't write values for keys (
    DidShowGestureKeyboardIntroduction
) in CFPrefsPlistSource<0x281dbdf00> (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
Test Case '-[UITestingUITests testRunner]' started.
    t =     0.00s Start Test at 2023-12-05 19:57:14.664
    t =     0.00s Set Up
2023-12-05 19:57:14.666219+0800 WebDriverAgentRunner-Runner[1554:545969] Built at Dec  5 2023 14:14:46
2023-12-05 19:57:14.678199+0800 WebDriverAgentRunner-Runner[1554:545969] ServerURLHere->http://169.254.158.113:8100<-ServerURLHere
共收到 1 条回复 时间 点赞

解决了 知道为啥了 brew 安装后的 M1 设备的安装路径问题 重新调整后完美解决

麻辣蚕豆 关闭了讨论 12月11日 14:06
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册