I'm looking for any info about how to link a
libSwiftPM.dylib and use it in eg. Xcode project.
Problems I found so far:
libllbuild.dylib, that needs
llbuildmodule (I guess it's from
- Then we need swiftmodules to use it. For that we need
.build/x86_64-apple-macosx/release/*.swiftmodule(this is what
bootstrap --libswiftpm-modules-diris doing)
libSwiftPMneed to fix rpath, because it uses hardcoded path to
.build/...directory so it won't work if moved outside (addressed by
- Some work has been done with
bootstrap --libswiftpm-library-dircommand, but it only put libSwiftPM.dylib without dependencies hence is not really usable.
- Xcode project generated by bootstrap script can't be used out of the box as a subproject in another Xcode project due to "clibc" issue
Appreciate any help.