2

I'm having this issue with my swift package. It was created a few weeks ago with BigSur, as the platform target i put iOS 15. I don't understand what it could be

ld: warning: dylib (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI/libPackageDescription.dylib) was built for newer macOS version (11.0) than being linked (10.15)

1 Answers1

0

https://stackoverflow.com/a/71762933/6479729 - this works for me

  1. Enter this command in your terminal:

    sudo xcode-select --switch /Applications/Xcode.app

  2. Relaunch Xcode