When you want to make a PDF searchable, there are many paid options for the Mac. However, if you are willing to use the command line, you can get some quite good results.

First, install Homebrew and then install ocrmypdf.

1
brew install ocrmypdf

Usage example:

Usage example for ocrmypdf

This was tested in macOS Catalina (10.15.4).