I want to do a UI Test on my Swift app project. I've created a UI Test Target bundle. I've setup the pods for testing. The build was successful, however I get the following throws:
2021-12-28 14:28:02.254796+0700 xyzLoginUITests-Runner[53044:379452] Running tests... 2021-12-28 14:28:02.354367+0700 xyzLoginUITests-Runner[53044:379452] The bundle “xyzLoginUITests” couldn’t be loaded. Try reinstalling the bundle. 2021-12-28 14:28:02.354531+0700 xyzLoginUITests-Runner[53044:379452] (dlopen(/Users/developer/Library/Developer/CoreSimulator/Devices/5331D569-C3C8-40F8-B32B-71A33E06495F/data/Containers/Bundle/Application/F48D47EA-E0E4-4ECE-90A4-2EA2026CCA05/EzeelinkLoginUITests-Runner.app/PlugIns/xyzLoginUITests.xctest/xyzLoginUITests, 0x0109): Library not loaded: @rpath/Alamofire.framework/Alamofire
as a result, UI testing doesn't work properly. I've tried fixing the Pod File, embedded framework related libraries and rebuilding the project. However, the result is still the same.
Please help me please. Thanks.