swift-sodium
swift-sodium copied to clipboard
Gardening for SwiftPM
This PR includes improvements for SwiftPM contains:
- Better platform determination which should use XCFramework by build target than host
- Make Xcodeproj generating Info.plist instead of repo storing
- Remove
Sodium.h
which containsSodiumVersionNumber
,SodiumVersionString[]
symbols only generated by Xcode builds - Remove
LinuxMain.swift
which is deprecated
I've been test in Xcode 15.4, Swift 5.10 on macOS, swift:5.10-bookworm docker image (with libsodium 1.0.20).