Cuckoo: Runtime error with v1.3.0 and Swift 5.0
I am trying to use the latest version of library(1.3.0) since I am already using Swift 5.0, but I am getting the below error when I run the tests.
Xcode Version: 11.3.0 Swift version: 5.0
2020-01-27 16:35:42.999141+0530 mocker[45528:966664] Launching with XCTest injected. Preparing to run tests.
2020-01-27 16:35:43.039552+0530 mocker[45528:966664] Failed to load test bundle from file://~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/: Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests): Library not loaded: @rpath/libswiftCore.dylib
Referenced from: ~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests
Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests, NSDebugDescription=dlopen_preflight(~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests): Library not loaded: @rpath/libswiftCore.dylib
Referenced from: ~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests
Reason: image not found, NSBundlePath=~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest, NSLocalizedDescription=The bundle “mockerTests” couldn’t be loaded because it is damaged or missing necessary resources.}
2020-01-27 16:35:43.039908+0530 mocker[45528:966664] Waiting to run tests until the app finishes launching.
2020-01-27 16:35:43.207868+0530 mocker[45528:966664] The bundle “mockerTests” couldn’t be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2020-01-27 16:35:43.207968+0530 mocker[45528:966664] (dlopen_preflight(~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests): Library not loaded: @rpath/libswiftCore.dylib
Referenced from: ~/Library/Developer/Xcode/DerivedData/mocker-dycjgannhunhhibnccfljkqhsvtj/Build/Products/Debug-iphonesimulator/mocker.app/PlugIns/mockerTests.xctest/mockerTests
Reason: image not found)
@TadeasKriz / Anyone else Please help me resolve this issue
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (3 by maintainers)
@MatyasKriz & @TadeasKriz Thanks you so much for fixing it. It works like a charm now 😃.
Can you release
1.3.2
as pod version in CocoaPods?Currently installed and checked using github as source:
pod "Cuckoo", :git => 'https://github.com/Brightify/Cuckoo.git'