Hello. I installed Quick framework with carthage 8.0. But in testing test fails and and prints out this to the console. Any idea?
The bundle âSampleTestsâ couldnât be loaded because it is damaged or missing necessary resources. Try reinstalling the bundle.
2015-08-20 23:52:29.929 Sample[13703:286251] (dlopen_preflight(/Users/mustafayusuf/Library/Developer/Xcode/DerivedData/Sample-ftrqmapojmxoukaofbbeykstcpry/Build/Products/Debug-iphonesimulator/SampleTests.xctest/SampleTests): Library not loaded: @rpath/libswiftSecurity.dylib
Referenced from: /Users/mustafayusuf/Library/Developer/Xcode/DerivedData/Sample-ftrqmapojmxoukaofbbeykstcpry/Build/Products/Debug-iphonesimulator/SampleTests.xctest/Frameworks/Quick.framework/Quick
Reason: image not found)
I _think_ you might need to add a swift file to your test target to get Quick to work.
I think you might need to add a swift file to your test target to get Quick to work.
Or setting the EMBEDDED_CONTENT_CONTAINS_SWIFT build setting to âYesâ might help.
@mdiep There is already one swift file that comes with testing template.
I'm not sure. It sounds like you have a project configuration issue. Maybe try some of these ideas.
Added "$(PROJECT_DIR)/Carthage/Build/iOS" to your test target Runpath Search Path and it worked
Most helpful comment
Added "$(PROJECT_DIR)/Carthage/Build/iOS" to your test target Runpath Search Path and it worked