Skip to content

libsodium v1.0.14 - #11

Closed
ivRodriguezCA wants to merge 1 commit into
masterfrom
libsodium_1014
Closed

libsodium v1.0.14#11
ivRodriguezCA wants to merge 1 commit into
masterfrom
libsodium_1014

Conversation

@ivRodriguezCA

Copy link
Copy Markdown
Owner
  • Updated libsodium to v1.0.14

@ivRodriguezCA

Copy link
Copy Markdown
Owner Author

Superseded by PR #14 — closing.

libsodium is now 1.0.22, but vendored as an XCFramework rather than as an updated fat archive,
and the container change is the substance rather than a packaging preference. The libsodium.a in
this repo had x86_64 and arm64 slices that were both built for the iOS device platform, so any
simulator build on Apple Silicon failed at link:

ld: building for 'iOS-simulator', but linking in object file
(libsodium.a[arm64][12](libsodium_la-curve25519_ref10.o)) built for 'iOS'

A .a is indexed by architecture alone, and device-arm64 and simulator-arm64 are the same
architecture — so no fat archive can carry both, at any libsodium version. An XCFramework is the
only container that distinguishes them by platform, which is why the update had to change shape
instead of just changing version.

Deployment target also moved 10.3 → 13.0 in the same commit, since 10.3 is below the floor current
Xcode will build at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant