SPM (Part 3 of 3)
SPM problems.
- Errors are very hard to decode: You do not get a lot of info from the error logs.
- Hard to get complete information: There are no good all encompassing guides.
- Stuff gets outdated very frequently: You will sometimes have to download someone else’s code manually just to change the shebang at the top of their package file “// swift-tools-version:5.3”
- Super complicated
- File structure not always obvious
- It becomes really hard to do more advanced things like link libraries
- There are a whole lot of linking technicalities that SPM obscures, static vs dynamic, XCworkspace vs xcodeproj, ect…
Originally published 04/24/2021 @ https://pittcsc.org/ Discord
Published here on 09/09/2022. Blog published date reflects the original date of publication.