jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.06k stars 1.72k forks source link

Add support for arm64 watchOS #1211

Closed Elih96 closed 1 year ago

Elih96 commented 1 year ago

According to the Xcode 14 release notes:

Xcode builds for watchOS devices now include the arm64 architecture by default. (83319300)

https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes

As a result adding swift-sodium to a watchOS target fails during the Archive step due to missing arm64 architecture.

Here's how I validated - I ran ./apple-xcframework.sh, switched out the xcframework in swift-sodium for this one, tested for watchOS, successfully built.

jedisct1 commented 1 year ago

Thank you!