skip to Main Content

Xcode – Swift Package Manager add only selected library

// swift-tools-version:5.5 import PackageDescription let package = Package( name: "PKG", platforms: [.iOS(.v15)], products: [ .library(name: "Lib1", targets: ["Lib1"]), .library(name: "Lib2", targets: ["Lib2"]), .library(name: "Lib3", targets: ["Lib3"]), ], dependencies: [ ], targets: [ .target(name: "Lib1", dependencies: []), .target(name: "Lib2", dependencies: []),…

VIEW QUESTION

Xcode – Swift Package: ld: warning: dylib was built for newer macOS version (11.0) than being linked (10.15)

I've been searching for solution to get rid of this warning error: ld: warning: dylib (/Applications/Xcode.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI/libPackageDescription.dylib) was built for newer macOS version (11.0) than being linked (10.15) I tried to clean & build Xcode project but no luck This warning…

VIEW QUESTION
Back To Top
Search