1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00
Commit Graph

22 Commits

Author SHA1 Message Date
Nikita Savko
8806992b1b
Fixed xcframework build for iOS 11 and later (#1361)
* Fixed inability to create xcframework with minimal iOS deployment target newer than iOS 10.x

* Set OS_VERSION_MIN as default value for OS_SIMULATOR_VERSION_MIN
2024-03-25 17:15:38 +01:00
小明
7e6ea701b7
fixed inability to create xcframework in Symbolic Link (#1356)
Creating Clibsodium.xcframework...
error: cannot compute path of binary 'Path(str: "/private/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a")' relative to that of '/tmp/libsodium-stable/libsodium-apple/macos/lib/libsodium.a'
ls: /tmp/libsodium-stable/libsodium-apple/Clibsodium.xcframework: No such file or directory

ls -l /tmp
lrwxr-xr-x@ 1 root  wheel  11 12 15 22:43 /tmp -> private/tmp
2024-02-29 11:19:58 +01:00
Frank Denis
16cd369c65 Don't compile for VisionOS if Xcode doesn't support it
Drop APPLE_SILICON_SUPPORTED, since Xcode has had support for it
for ages.
2023-10-20 15:15:13 +02:00
Frank Denis
0e0e2c1640 Use -O3 instead of -Ofast in dist-build scripts as well 2023-10-20 12:21:06 +02:00
Frank Denis
7e3500e878 xcframework: use proper --host= flags for Apple targets 2023-09-22 20:03:11 +02:00
Frank Denis
41f34e89bc darwin10 -> darwin23 2023-09-22 19:52:48 +02:00
Frank Denis
314f603929 Add support for VisionOS 2023-09-09 10:56:02 +02:00
Frank Denis
9cad824a9c apple-xcframework.sh: add the ability to skip simulators 2023-01-16 13:34:10 +01:00
Frank Denis
415bce5d97 dist-build: use -Ofast or -O3 2022-11-21 13:01:44 +01:00
Elie Hage
3a99e1ec8a
Add support for arm64 watchOS (#1211) 2022-09-23 17:29:44 +02:00
Javier Navarro
907c2b64ef
ios: remove the support for bitcode (#1210) 2022-09-19 14:04:02 +02:00
Frank Denis
cc7e7de81d Catalyst: iOS 13.1 is the minimum target for Xcode 13
Fixes #1167
2022-04-03 00:00:54 +02:00
Frank Denis
ec552621cb apple-xcframework: add bitcode support to all emulators 2020-11-10 16:59:57 +01:00
Frank Denis
1801900486 Build the watchOS simulators with bitcode 2020-10-21 17:01:52 +02:00
Dan Browne
1ff1708fe4 Add tvOS support for Apple XCFramework generation. 2020-10-13 16:25:06 +02:00
Frank Denis
6b51f7ffb1 Include arm64 simulators 2020-09-21 03:13:02 +02:00
Frank Denis
7f8a4d1fa5 Shared libraries may not be buildable for Catalyst 2020-09-21 00:28:05 +02:00
Frank Denis
547f5b1130 Check if the compiler supports the arm64-macos target
instead of checking that this is what the host is running.

Xcode 12 may be able to compile for Apple Silicon even on Intel
platforms already.
2020-08-06 15:59:58 +02:00
Frank Denis
882f1be006 Bring Catalyst support back, properly forcing cross-compilation 2020-08-06 15:47:10 +02:00
Frank Denis
0a213f7a93 Revert "Remove support for Catalyst"
This reverts commit a530849511.
2020-08-06 15:29:22 +02:00
Frank Denis
a530849511 Remove support for Catalyst 2020-08-05 18:17:26 +02:00
Frank Denis
d8fbab4f85 xcframework: also compile for macOS, rename to apple-xcframework.sh 2020-08-05 17:42:38 +02:00