iOS-Tagent icon indicating copy to clipboard operation
iOS-Tagent copied to clipboard

无法运行WebDriverAgentRunner

Open MenThu opened this issue 6 months ago • 1 comments

环境: macos 15.3.2 xcode Version 16.2 项目分支master,commit: c0bf1303c14668b83370b82b39b5e0a50e4cfef6 iPhone 12 iOS 14.7.1

问题: 无法运行WebDriverAgentRunner,执行command+u之后,控制台信息: 2025-05-28 20:24:47.027959+0800 WebDriverAgentRunner-Runner[28657:6838519] [Default] Running tests... 2025-05-28 20:24:47.098892+0800 WebDriverAgentRunner-Runner[28657:6838519] [Default] 未能载入软件包“WebDriverAgentRunner”。 请尝试重新安装软件包。 2025-05-28 20:24:47.099095+0800 WebDriverAgentRunner-Runner[28657:6838519] [Default] (dlopen(/var/containers/Bundle/Application/28273344-1FBE-4755-9D52-EB3336CAC1C6/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner, 265): Symbol not found: _backtrace_async Referenced from: /private/var/containers/Bundle/Application/28273344-1FBE-4755-9D52-EB3336CAC1C6/WebDriverAgentRunner-Runner.app/Frameworks/Testing.framework/Testing Expected in: /usr/lib/libSystem.B.dylib )

请问如何解决?

MenThu avatar May 28 '25 12:05 MenThu

+1

shenbj250411 avatar May 28 '25 16:05 shenbj250411

The Xcode 16 release supports on-device debugging in iOS 15 and later, tvOS 15 and later, watchOS 7 and later, and visionOS. Xcode 16 requires a Mac running macOS Sonoma 14.5 or later.

https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes

The Xcode 15.4 release supports on-device debugging in iOS 12 and later, tvOS 12 and later, watchOS 4 and later, and visionOS. Xcode 15.4 requires a Mac running macOS Sonoma 14 or later.

https://developer.apple.com/documentation/xcode-release-notes/xcode-15_4-release-notes

lthinktime avatar Jul 14 '25 03:07 lthinktime

I didn’t quite understand your explanation. Could you provide specific steps to resolve this error? Thands a lot

MenThu avatar Jul 14 '25 07:07 MenThu

I didn’t quite understand your explanation. Could you provide specific steps to resolve this error? Thands a lot

xcode Version 16.2 not support ios14 , use xcode 15

lthinktime avatar Jul 14 '25 08:07 lthinktime