Closed OwenHongJinmu closed 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
1
xcode 降低版本到13.2 此问题解决
除了降xcode版本还有其他办法吗,我记得之前airtest那边可以修改工程配置的,不知道fastbot能不能修改buildphases里面的内容兼容这个版本问题的?
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