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

FastbotLib requires version 1.0.0 or later, but XCTest provides version 0.0.0 #116

Closed OwenHongJinmu closed 1 year ago

OwenHongJinmu commented 1 year ago

2023-01-06 17:23:39.919544+0800 FastbotRunner-Runner[606:272790] Running tests... 2023-01-06 17:23:40.167473+0800 FastbotRunner-Runner[606:272790] 未能载入软件包“FastbotRunner”,因为它已损坏或丢失必要的资源。 请尝试重新安装软件包。 2023-01-06 17:23:40.167930+0800 FastbotRunner-Runner[606:272790] (dlopen_preflight(/var/containers/Bundle/Application/1F39349A-FB44-47F7-AE35-65C850502CD1/FastbotRunner-Runner.app/PlugIns/FastbotRunner.xctest/FastbotRunner): Library not loaded: @rpath/XCTest.framework/XCTest Referenced from: /private/var/containers/Bundle/Application/1F39349A-FB44-47F7-AE35-65C850502CD1/FastbotRunner-Runner.app/PlugIns/FastbotRunner.xctest/Frameworks/FastbotLib.framework/FastbotLib Reason: Incompatible library version: FastbotLib requires version 1.0.0 or later, but XCTest provides version 0.0.0)

Xcode version: 14.2 macOS version: 13.0

hnny09 commented 1 year ago

1

yanglikai0806 commented 1 year ago

xcode 降低版本到13.2 此问题解决

jeniva commented 1 year ago

除了降xcode版本还有其他办法吗,我记得之前airtest那边可以修改工程配置的,不知道fastbot能不能修改buildphases里面的内容兼容这个版本问题的?