You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-14Lines changed: 0 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,20 +33,6 @@ And add the following dependency to your target:
33
33
34
34
Take a look at the tests in `swift/Tests` directory for examples on how to use the wrappers.
35
35
36
-
#### Building AnonCreds for iOS
37
-
38
-
The AnonCreds Swift framework is built with `anoncreds/build-swift-framework.sh`.
39
-
The script pins the minimum iOS deployment target to `15.0` and macOS to `12.0` before running `cargo build` for each Apple target.
40
-
41
-
This is required with newer Xcode SDKs because dependencies such as `openssl-sys` can otherwise be compiled for a newer iOS SDK while the final Rust static library is linked as iOS `10.0`. The typical failure looks like this:
42
-
43
-
```text
44
-
object file (...) was built for newer 'iOS' version (26.0) than being linked (10.0)
45
-
Undefined symbols for architecture arm64:
46
-
"___chkstk_darwin"
47
-
```
48
-
49
-
The script sets `IPHONEOS_DEPLOYMENT_TARGET`, `MACOSX_DEPLOYMENT_TARGET`, and target-specific `RUSTFLAGS` (`-miphoneos-version-min`, `-mios-simulator-version-min`, or `-mmacosx-version-min`) so Rust and clang link all slices with compatible deployment targets.
0 commit comments