SPM wrapper for Google Map XCFramework, error

Google Maps does not use SPM. So I am using Swift Package Manager to wrap the Google Maps XCFramework. I create a new SPM project add the Google Maps XCFrameworks from here; Set up an Xcode Project  |  Maps SDK for iOS  |  Google Developers

The SPM Package file looks like this

When I drag the SPM to my Xcode project and I run the project, it does not build and I get this warning