For my project I am compiling on macOS 10.14, but I want to deploy on another machine still running macOS 10.12.
In my Package.swift file I have included the
platforms: [ .macOS(.v10_12) ]
I can build the release version just fine, and it works on macOS 10.14.
But when I copy the release directory (including the frameworks) to the macOS 10.12 machine, it fails to run with the message:
dyld: Library not loaded: @rpath/libswiftCoreFoundation.dylib Referenced from: /Users/rien/Desktop/Release-1-2-1/Swiftfire Reason: image not found Abort trap: 6
Is it possible to cross compile? and if so, any idea's on how to include the libswiftCoreFoundation into the distribution?