Xcode14 build WebDriverAgent提示“Cannot link directly with dylib/framework“的解决方法

完整提示:

Cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture arm64

解决方案:

下载Xcode13版本对应的XCTAutomationSupport.framework,然后将Xcode14的XCTAutomationSupport.framework替换成Xcode13的即可

Xcode13和Xcode14的XCTAutomationSupport.framework文件

Xcode13

https://download.csdn.net/download/weixin_39810558/87188733

Xcode14:

https://download.csdn.net/download/weixin_39810558/87188744

你可能感兴趣的:(软件测试,xcode)