Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

test failed on Xcode 10.2 #1093

Open
dzjwan521 opened this issue Apr 2, 2019 · 6 comments
Open

test failed on Xcode 10.2 #1093

dzjwan521 opened this issue Apr 2, 2019 · 6 comments

Comments

@dzjwan521
Copy link

xcode 10.2
iPhone X iOS 12.2

2019-04-02 22:41:29.247187+0800 WebDriverAgentRunner-Runner[12357:2251325] Running tests...
2019-04-02 22:41:29.321673+0800 WebDriverAgentRunner-Runner[12357:2251325] 未能载入软件包“WebDriverAgentRunner”。 请尝试重新安装软件包。
2019-04-02 22:41:29.321760+0800 WebDriverAgentRunner-Runner[12357:2251325] (dlopen(/var/containers/Bundle/Application/960CDA4D-EF8A-4CB0-A018-85B31BEF29FA/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner, 265): Symbol not found: _OBJC_CLASS_$_XCEventGenerator
  Referenced from: /private/var/containers/Bundle/Application/960CDA4D-EF8A-4CB0-A018-85B31BEF29FA/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib
  Expected in: /private/var/containers/Bundle/Application/960CDA4D-EF8A-4CB0-A018-85B31BEF29FA/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest
 in /private/var/containers/Bundle/Application/960CDA4D-EF8A-4CB0-A018-85B31BEF29FA/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/Frameworks/WebDriverAgentLib.framework/WebDriverAgentLib)
@mackxu
Copy link

mackxu commented Apr 8, 2019

help,same question

@OspreyRen
Copy link

same

@OspreyRen
Copy link

I find a way to work around this problem.

Xcode 10.2 including the latest XCTest.framework which broken some private API, wda dependent those API .

Xcode keep XCTest.framework at path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework
So you can find out older XCTest.framework in older Xcode, and replace XCTest.framework in Xcode 10.2.

@zeuskim
Copy link

zeuskim commented Apr 25, 2019

thanks .it works

@Joyjiji
Copy link

Joyjiji commented May 17, 2019

I find a way to work around this problem.

Xcode 10.2 including the latest XCTest.framework which broken some private API, wda dependent those API .

Xcode keep XCTest.framework at path:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks/XCTest.framework
So you can find out older XCTest.framework in older Xcode, and replace XCTest.framework in Xcode 10.2.

useful!!!!!!!!!!!!!!thank you!!!!!!!!!very useful!!
亲测有效,真的感动哭了

@dzjwan521
Copy link
Author

@Joyjiji 朋友能不能发我一份啊。。我旧的xcode没有了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants