Update ReadMe for iOS build on Big Sur
Update README.md
@@ -22,6 +22,7 @@ brew install cmake
brew install autoconf
brew install automake
brew install libtool
+brew install openssl@1.1
```
## iOS Dependencies
@@ -48,6 +49,45 @@ Switch the XCode app defaults with:
**Note:** If this command fails, XCode was not found and needs to be installed/re-installed.
+For Big Sur, currently it seems only thin libraries for openssl are being distributed via brew (instead of fat ones),
+should you run into linker errors in the logs:
+```Shell Script
+git clone https://github.com/StriderDM/OpenSSL-for-iPhone.git
+cd OpenSSL-for-iPhone
+git checkout shared_lib_and_mobile_optimizations
+./build-libssl.sh --version=1.1.1h
+```
+
+After the script finishes building the libraries, copy the following:
+```
+./bin/iPhoneOS14.3-arm64.sdk/lib/libcrypto.1.1.dylib
+./bin/iPhoneOS14.3-arm64.sdk/lib/libcrypto.dylib
+./bin/iPhoneOS14.3-arm64.sdk/lib/libssl.1.1.dylib
+./bin/iPhoneOS14.3-arm64.sdk/lib/libssl.dylib
+
+```
+
+To:
+```
+~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/aarch64-apple-ios/lib
+```
+
+And the following:
+```
+./bin/iPhoneSimulator14.3-x86_64.sdk/lib/libcrypto.1.1.dylib
+./bin/iPhoneSimulator14.3-x86_64.sdk/lib/libcrypto.dylib
+./bin/iPhoneSimulator14.3-x86_64.sdk/lib/libssl.1.1.dylib
+./bin/iPhoneSimulator14.3-x86_64.sdk/lib/libssl.dylib
+```
+
+To:
+```
+~/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-apple-ios/lib
+```
+
+Note: This is purely to resolve linker issues during the library build (prior to trying to include it in the iOS
+wallet). This dependency is already included in the dependencies to be built for the iOS wallet.
+
## Android Dependencies
Install [Android Studio](https://developer.android.com/studio) and then use the SDK Manager to install the Android NDK
