zalando / SwiftMonkey

A framework for doing randomised UI testing of iOS apps
MIT License
1.95k stars 175 forks source link

grab code but can not be tested #82

Open LeepengX opened 4 years ago

LeepengX commented 4 years ago

2019-10-11 10:41:12.102123+0800 SwiftMonkeyExampleUITests-Runner[320:13288] +[CATransaction synchronize] called within transaction 2019-10-11 10:41:12.153928+0800 SwiftMonkeyExampleUITests-Runner[320:13288] Running tests... 2019-10-11 10:41:12.166254+0800 SwiftMonkeyExampleUITests-Runner[320:13288] refreshPreferences: HangTracerEnabled: 0 2019-10-11 10:41:12.166334+0800 SwiftMonkeyExampleUITests-Runner[320:13288] refreshPreferences: HangTracerDuration: 500 2019-10-11 10:41:12.166344+0800 SwiftMonkeyExampleUITests-Runner[320:13288] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0 2019-10-11 10:41:12.221609+0800 SwiftMonkeyExampleUITests-Runner[320:13288] 未能载入软件包“SwiftMonkeyExampleUITests”,因为它已损坏或丢失必要的资源。 请尝试重新安装软件包。 2019-10-11 10:41:12.221666+0800 SwiftMonkeyExampleUITests-Runner[320:13288] (dlopen_preflight(/var/containers/Bundle/Application/BD30835F-F4F4-4203-ACFB-50918B8CD950/SwiftMonkeyExampleUITests-Runner.app/PlugIns/SwiftMonkeyExampleUITests.xctest/SwiftMonkeyExampleUITests): Library not loaded: @rpath/SwiftMonkey.framework/SwiftMonkey Referenced from: /var/containers/Bundle/Application/BD30835F-F4F4-4203-ACFB-50918B8CD950/SwiftMonkeyExampleUITests-Runner.app/PlugIns/SwiftMonkeyExampleUITests.xctest/SwiftMonkeyExampleUITests Reason: image not found)

LeepengX commented 4 years ago

what can I do ?

wojciechczerski commented 4 years ago

Could you try this example project and see whether it works for you? https://github.com/wojciechczerski/TestSwiftMonkey

farabi commented 4 years ago

@wojciechczerski Actually the example project is working fine, But always get the above error with a new project. Any idea ?