Errors on Build after add package GRDB

I am using macOS sequoia and Xcode 16.1 after adding GRDB package to leverage the SQL query features to access a SWIFTDATA database, but when to building my new code I am getting the following errors:

  1. package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
  2. Build target GRDB with configuration Debug
    error: Unable to resolve build file: BuildFilePACKAGE-TARGET:GRDB-5DC4DB053-dynamic:0::BUILDPHASE_1: (The workspace has a reference to a missing target with GUID 'PACKAGE-TARGET:GRDBSQLite') (in target 'GRDB' from project 'GRDB')

Unable to resolve build file: BuildFilePACKAGE-TARGET:GRDB-5DC4DB053-dynamic:0::BUILDPHASE_1: (The workspace has a reference to a missing target with GUID 'PACKAGE-TARGET:GRDBSQLite')

any ideas how to resolve this?

Hi! Maybe you have embedded both GRDB and GRDBDynamic in your app? If so, only use GRDB itself.

Yes, that was the issue, thanks