Cocoapods "No such module"

Hi,

I built a project back in 2017 using swift and a module called SwiftSoup. Now, when I compile with new version Xcode I get error;
No such module 'SwiftSoup'
But only when compiling for simulator. It doesn't produce this error when I compile for actual device. How do I fix this issue so I can run app on simulator. I tried removing Derived Data folder, pod update, pod install and clean project; but nothing seems to work.

Need help!