Xcode Says " 'App' is only available in macOS 11.0 or newer "

Xcode says 'App' is only available in macOS 11.0 or newer when building an app with a package dependency. As soon as I remove the package, the errors disappear. I anyway set the minimum OS requirements as macOS 14.0+, so how does this error exist?

What about the package itself. Are the minimum deployment you show (macOS 14.0) for this package ?

Is it a package you developed or one you imported ?

Xcode Says " 'App' is only available in macOS 11.0 or newer "
 
 
Q