Swift Package Manager (SPM) and Xcode Frameworks currently follow different paths. For Linux, you need to follow the SPM path, since the only way to compile an application for working quickly with Linux is to use SPM. For macOS command line applications, you can also follow the SPM path. For iOS and MacOS UI applications, you must follow the Xcode Frameworks path.
SPM SPM: Package.swift SPM. git. git / SPM. SPM Xcode swift package generate-xcodeproj.
Xcode Frameworks - , SPM Xcode, . Xcode, .
, , SPM Linux MacOS, Xcode iOS MacOS UI, . SPM Xcode, . - Package.swift Xcode.