gpt4 book ai didi

ios - 真实 iOS 设备上的 Appium

转载 作者:行者123 更新时间:2023-11-29 12:10:40 37 4
gpt4 key购买 nike

我在 Appium 和 iPad 2 上使用了以下所需的功能

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("udid", "ea56e8ae8e5f5235c16d5315f4cb34d81be55917");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("deviceName", "iPad 2");
capabilities.setCapability("platformVersion", "8.3");
capabilities.setCapability("app", "/Users/Aress-QA/Desktop/PSt-forQA.ipa");
capabilities.setCapability("platformName", "iOS");
wd = new IOSDriver(new URL("http://0.0.0.0:4723/wd/hub"),capabilities);
wd.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);

应用程序启动后立即崩溃,Appium 控制台显示以下错误,

info: [debug] [INST STDERR] 2015-11-04 14:51:55.082 instruments[9690:170378] WebKit Threading Violation - initial use of WebKit from a secondary thread.
info: [debug] [INST STDERR] 2015-11-04 14:51:55.984 instruments[9690:170400] Attempting to change event horizon while disengage
info: [debug] [INST STDERR] Instruments Trace Error : Target failed to run: Permission to debug com.esct.PIt was denied. The app must be signed with a development identity (e.g. iOS Developer).

有人可以帮忙吗?

最佳答案

您的应用未使用您的 Apple Developer ID 签名。您必须在 XCode 中执行此操作。

示例:https://discuss.appium.io/t/the-app-must-be-signed-with-a-development-identity/2653

关于ios - 真实 iOS 设备上的 Appium,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33521913/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com