bytedance / Fastbot_iOS

About Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
Other
556 stars 112 forks source link

XCTAutomationSupport.framework doesn't supported from XCode 14 onwards #115

Open nidit-mehta opened 1 year ago

nidit-mehta commented 1 year ago

Somehow my Mac got updated to Mac OS 13 :( and now I have to forcefully use XCode 14 and above to build and test the XCode for iPhones used in Automation.

While building XCode for test iPhone, I was getting the following error while building and build gets Failed: ld: 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 clang: error: linker command failed with exit code 1 (use -v to see invocation)

None of solutions works for me, as it is very complex to do workarounds in the full-fledged Automation system.

XCode team should provide the support of XCTAutomationSupport.framework as it was running fine till latest XCode 13 OR If you want to remove this then please provide proper guidance to use alternative which should work flawlessly !!!

XCode team I am in dead-lock condition right now. Please find solution for this problem and provide a release asap.

Thanks in advance !

XCode Version: 14.1 MacOS Version: 13.0.1 appium: 1.22.3 robotframework-appiumlibrary: 1.6.3

I don't think appium 2 & robotframework-appiumlibrary 2.0.0 solves this problem !

wufeng924111 commented 1 year ago

同问,有什么解决方案没

shijiaojiao123 commented 1 year ago

用了下面的方法不报这个错误了,但是出现了其他的错误,https://blog.csdn.net/weixin_39810558/article/details/128076035

:0: error: FastbotRunner : -[XCTScreenshotRequest initWithScreenID:rect:encoding:options:]: unrecognized selector sent to instance 0x283257980
jeniva commented 10 months ago

用了下面的方法不报这个错误了,但是出现了其他的错误,https://blog.csdn.net/weixin_39810558/article/details/128076035, :0: error: FastbotRunner : -[XCTScreenshotRequest initWithScreenID:rect:encoding:options:]: unrecognized selector sent to instance 0x283257980

后面有解决吗