最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

iOS自動化真機測試驗證環(huán)境過程中常見問題解析

2022-10-10 16:09 作者:愛測軟件測試  | 我要投稿

本章節(jié)主要講解 iOS 自動化真機配置以及在 iOS 真機執(zhí)行自動化時常見問題與解決方法。

真機使用的Capability

與模擬器不同,真機測試需要如下的 Capability
方式一:設置 App 路徑,啟動 App(自動安裝 App)

{ ?"app": "/Users/seveniruby/Library/Developer/Xcode/DerivedData/UICatalog-ftyzdbgapjmxxobezrnrxsshpdqh/Build/Products/Debug-iphoneos/UICatalog.app", ?"automationName": "XCUITest", ?"platformName": "ios", ?"xcodeOrgId": "xxxxxx", ?"xcodeSigningId": "iPhone Developer", ?"udid": "9df22446af15919c494c85b4c1c8b00eaa3a5bd0" }

方式二:根據(jù) App 包名啟動 App

{ ?"platformName": "ios", ?"bundleId": "com.example.apple-samplecode.UICatalog", ?"automationName": "XCUITest", ?"deviceName": "iPhone", ?"udid": "auto", ?"xcodeOrgId": "xxxxx", ?"xcodeSigningId": "iPhone Developer" }

使用Appium Desktop驗證環(huán)境

以上步驟完成后,出現(xiàn)下圖表示真機環(huán)境配置成功

常見問題

問題一
問題二

問題三

  • 解決方法:重啟手機或者拔掉 IOS 數(shù)據(jù)線,重新連接電腦

問題四

note: Using new build system note: Building targets in parallel note: Planning build note: Constructing build description error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "L62JHCGMQW" with a private key was found. (in target 'WebDriverAgentLib' from project 'WebDriverAgent') error: No profiles for 'com.facebook.WebDriverAgentRunner.xctrunner' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.facebook.WebDriverAgentRunner.xctrunner'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. (in target 'WebDriverAgentRunner' from project 'WebDriverAgent')

問題五

Assertions: System: Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: The test runner exited with code 74 before checking in. If you believe this error represents a bug, please attach the result bundle at /Users/dzkair/Library/Developer/Xcode/DerivedData/WebDriverAgent- alwvnomvwrdtzoaxbbkniqrpcdpp/Logs/Test/Test-WebDriverAgentRunner-2020.11.26_10-47-38-+0800.xcresult)

  • 解決方法:重新插拔手機即可
    常見問題給大家總結了這些,如果大家有遇到其他的問題也可以在下方留言哦~


iOS自動化真機測試驗證環(huán)境過程中常見問題解析的評論 (共 條)

分享到微博請遵守國家法律
水富县| 浑源县| 松滋市| 女性| 巩义市| 漳浦县| 高要市| 平南县| 万盛区| 灵台县| 玉屏| 黄骅市| 玉门市| 来安县| 韩城市| 明星| 石柱| 乌拉特前旗| 武乡县| 清水县| 嘉义市| 宜君县| 霍林郭勒市| 沭阳县| 杭锦旗| 定西市| 新绛县| 舞钢市| 改则县| 定襄县| 陆良县| 福州市| 巴里| 额济纳旗| 工布江达县| 延寿县| 崇左市| 赫章县| 化隆| 永胜县| 桦川县|