Crash with this error message below:
dyld: Library not loaded: @rpath/XCTest.framework/XCTest
Referenced from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftXCTest.dylib
Reason: image not found
List the software versions you're using:
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
Are you sure that you add the libraries to a test target, not to an application target? The error message says XCTest framework does not exist at runtime so it should mean that you are running an application target but not a test target.
@ikesyo my fault, I added Quick and Nimble in application target in Podfile.
Thanks,
Most helpful comment
Are you sure that you add the libraries to a test target, not to an application target? The error message says XCTest framework does not exist at runtime so it should mean that you are running an application target but not a test target.