Integrating w/Realm in Xcode for iOS app

I’m in the process of building an iOS application in the latest version of Xcode for an application that will be used for iPhone and iPad devices. I have all of my screens (views) built and am now working on the other tiers (Model, Repository, and ModelView) of the application. After looking into the different options, the one that seemed to make the most sense was the Realm technology, it looked very straight-forward to me, given my past experience w/Java, specifically with Hibernate ORM technology.

I was fighting with getting my iOS application working with Realm though. I would like to avoid “Cocoa Pods” in favor of using the “Swift Package Manager” (SPM) that is embedded within Xcode, it seems like a cleaner solution to me, my Xcode project seems less bloated with using SPM, Cocoa Pods creates quite a few files and directories in the Xcode project.

Has anyone here integrated an Xcode (iOS app) with realm using the SPM? I was trying to find some good documentation. The docs and blogs I was finding the other day on this were not very helpful. I just found some new documentation at https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/install/ that I plan to give a try this evening.