From 31657108389cdd37cbe7be4a31fd534672989dcb Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Tue, 21 May 2024 09:03:48 +0200 Subject: [PATCH] Publish Go package --- .github/workflows/build-language-bindings.yml | 26 +-- .github/workflows/main.yml | 13 ++ .github/workflows/publish-all-platforms.yml | 34 ++-- lib/Cargo.lock | 182 +++--------------- lib/Cargo.toml | 5 +- lib/bindings/langs/swift/Package.swift | 6 +- lib/bindings/makefile | 14 ++ lib/bindings/tests/bindings/golang/.gitignore | 1 + lib/bindings/tests/bindings/golang/go.mod | 3 + .../bindings/golang/test_breez_liquid_sdk.go | 32 +++ lib/bindings/tests/test_generated_bindings.rs | 21 ++ lib/bindings/uniffi.toml | 5 + .../react-native/BreezLiquidSDK.podspec.dev | 2 +- .../react-native/breez_liquid_sdk.podspec | 2 +- packages/react-native/example/ios/Podfile | 4 +- .../react-native/example/ios/Podfile.lock | 4 +- 16 files changed, 156 insertions(+), 198 deletions(-) create mode 100644 lib/bindings/tests/bindings/golang/.gitignore create mode 100644 lib/bindings/tests/bindings/golang/go.mod create mode 100644 lib/bindings/tests/bindings/golang/test_breez_liquid_sdk.go diff --git a/.github/workflows/build-language-bindings.yml b/.github/workflows/build-language-bindings.yml index 6b37496ab..de43a2da8 100644 --- a/.github/workflows/build-language-bindings.yml +++ b/.github/workflows/build-language-bindings.yml @@ -133,16 +133,16 @@ jobs: # name: bindings-csharp # path: lib/bindings/ffi/csharp/breez_liquid_sdk.cs # -# - name: Build golang binding -# if: ${{ inputs.golang }} -# working-directory: lib/bindings -# run: | -# cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.1.5+v0.23.0 -# uniffi-bindgen-go src/breez_liquid_sdk.udl -o ffi/golang -c ./uniffi.toml -# -# - name: Archive golang binding -# if: ${{ inputs.golang }} -# uses: actions/upload-artifact@v3 -# with: -# name: bindings-golang -# path: lib/bindings/ffi/golang/breez/breez_liquid_sdk/breez_liquid_sdk.* + - name: Build golang binding + if: ${{ inputs.golang }} + working-directory: lib/bindings + run: | + cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0 + uniffi-bindgen-go src/breez_liquid_sdk.udl -o ffi/golang -c ./uniffi.toml + + - name: Archive golang binding + if: ${{ inputs.golang }} + uses: actions/upload-artifact@v3 + with: + name: bindings-golang + path: lib/bindings/ffi/golang/breez_liquid_sdk/breez_liquid_sdk.* diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93eb4ce67..62aa32338 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,6 +51,19 @@ jobs: working-directory: lib/bindings run: cargo build + - name: Build golang bindings + working-directory: lib/bindings + run: | + cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0 + uniffi-bindgen-go src/breez_liquid_sdk.udl -o ffi/golang -c ./uniffi.toml + cp ../target/debug/libbreez_liquid_sdk_bindings.so ffi/golang + cp -r ffi/golang/breez_liquid_sdk tests/bindings/golang/ + + - name: Setup go + uses: actions/setup-go@v4 + with: + go-version: '1.19.9' + - name: Setup python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/publish-all-platforms.yml b/.github/workflows/publish-all-platforms.yml index 9333f25df..7d14270d3 100644 --- a/.github/workflows/publish-all-platforms.yml +++ b/.github/workflows/publish-all-platforms.yml @@ -198,23 +198,23 @@ jobs: # skip-tests: true # secrets: # NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} -# -# publish-golang: -# needs: -# - setup -# - build-bindings-android -# - build-bindings-windows -# - build-bindings-darwin -# - build-bindings-linux -# - build-language-bindings -# if: ${{ needs.setup.outputs.golang == 'true' }} -# uses: ./.github/workflows/publish-golang.yml -# with: -# ref: ${{ needs.setup.outputs.ref }} -# package-version: ${{ needs.setup.outputs.golang-package-version }} -# publish: ${{ needs.setup.outputs.publish == 'true' }} -# secrets: -# REPO_SSH_KEY: ${{ secrets.REPO_SSH_KEY }} + + publish-golang: + needs: + - setup + - build-bindings-android + - build-bindings-windows + - build-bindings-darwin + - build-bindings-linux + - build-language-bindings + if: ${{ needs.setup.outputs.golang == 'true' }} + uses: ./.github/workflows/publish-golang.yml + with: + ref: ${{ needs.setup.outputs.ref }} + package-version: ${{ needs.setup.outputs.golang-package-version }} + publish: ${{ needs.setup.outputs.publish == 'true' }} + secrets: + REPO_SSH_KEY: ${{ secrets.REPO_SSH_KEY }} publish-maven: needs: diff --git a/lib/Cargo.lock b/lib/Cargo.lock index bf0f54b20..9977ae690 100644 --- a/lib/Cargo.lock +++ b/lib/Cargo.lock @@ -529,7 +529,7 @@ dependencies = [ "camino", "glob", "thiserror", - "uniffi 0.27.1", + "uniffi 0.25.3", "uniffi-kotlin-multiplatform", "uniffi_bindgen 0.25.3", ] @@ -1158,18 +1158,7 @@ checksum = "0d6b4de4a8eb6c46a8c77e1d3be942cb9a8bf073c22374578e5ba4b08ed0ff68" dependencies = [ "log", "plain", - "scroll 0.11.0", -] - -[[package]] -name = "goblin" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b363a30c165f666402fe6a3024d3bec7ebc898f96a4a23bd1c99f8dbf3f4f47" -dependencies = [ - "log", - "plain", - "scroll 0.12.0", + "scroll", ] [[package]] @@ -2302,16 +2291,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04c565b551bafbef4157586fa379538366e4385d42082f255bfd96e4fe8519da" dependencies = [ - "scroll_derive 0.11.1", -] - -[[package]] -name = "scroll" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6" -dependencies = [ - "scroll_derive 0.12.0", + "scroll_derive", ] [[package]] @@ -2325,17 +2305,6 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "scroll_derive" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.61", -] - [[package]] name = "sct" version = "0.7.1" @@ -2542,12 +2511,6 @@ version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" -[[package]] -name = "smawk" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" - [[package]] name = "socket2" version = "0.5.7" @@ -2673,11 +2636,6 @@ name = "textwrap" version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" -dependencies = [ - "smawk", - "unicode-linebreak", - "unicode-width", -] [[package]] name = "thiserror" @@ -2875,12 +2833,6 @@ version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" -[[package]] -name = "unicode-linebreak" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" - [[package]] name = "unicode-normalization" version = "0.1.22" @@ -2890,12 +2842,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-width" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6" - [[package]] name = "uniffi" version = "0.23.0" @@ -2912,17 +2858,17 @@ dependencies = [ [[package]] name = "uniffi" -version = "0.27.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5566fae48a5cb017005bf9cd622af5236b2a203a13fb548afde3506d3c68277" +checksum = "21345172d31092fd48c47fd56c53d4ae9e41c4b1f559fb8c38c1ab1685fd919f" dependencies = [ "anyhow", "camino", "clap 4.5.4", - "uniffi_bindgen 0.27.1", - "uniffi_build 0.27.1", - "uniffi_core 0.27.1", - "uniffi_macros 0.27.1", + "uniffi_bindgen 0.25.3", + "uniffi_build 0.25.3", + "uniffi_core 0.25.3", + "uniffi_macros 0.25.3", ] [[package]] @@ -2954,7 +2900,7 @@ dependencies = [ "camino", "fs-err", "glob", - "goblin 0.6.1", + "goblin", "heck 0.4.1", "once_cell", "paste", @@ -2963,7 +2909,7 @@ dependencies = [ "toml", "uniffi_meta 0.23.0", "uniffi_testing 0.23.0", - "weedle2 4.0.0", + "weedle2", ] [[package]] @@ -2976,9 +2922,10 @@ dependencies = [ "askama 0.12.1", "camino", "cargo_metadata", + "clap 4.5.4", "fs-err", "glob", - "goblin 0.6.1", + "goblin", "heck 0.4.1", "once_cell", "paste", @@ -2986,32 +2933,7 @@ dependencies = [ "toml", "uniffi_meta 0.25.3", "uniffi_testing 0.25.3", - "uniffi_udl 0.25.3", -] - -[[package]] -name = "uniffi_bindgen" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a77bb514bcd4bf27c9bd404d7c3f2a6a8131b957eba9c22cfeb7751c4278e09" -dependencies = [ - "anyhow", - "askama 0.12.1", - "camino", - "cargo_metadata", - "clap 4.5.4", - "fs-err", - "glob", - "goblin 0.8.2", - "heck 0.4.1", - "once_cell", - "paste", - "serde", - "textwrap", - "toml", - "uniffi_meta 0.27.1", - "uniffi_testing 0.27.1", - "uniffi_udl 0.27.1", + "uniffi_udl", ] [[package]] @@ -3027,13 +2949,13 @@ dependencies = [ [[package]] name = "uniffi_build" -version = "0.27.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45cba427aeb7b3a8b54830c4c915079a7a3c62608dd03dddba1d867a8a023eb4" +checksum = "001964dd3682d600084b3aaf75acf9c3426699bc27b65e96bb32d175a31c74e9" dependencies = [ "anyhow", "camino", - "uniffi_bindgen 0.27.1", + "uniffi_bindgen 0.25.3", ] [[package]] @@ -3056,16 +2978,6 @@ dependencies = [ "syn 2.0.61", ] -[[package]] -name = "uniffi_checksum_derive" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae7e5a6c33b1dec3f255f57ec0b6af0f0b2bb3021868be1d5eec7a38e2905ebc" -dependencies = [ - "quote", - "syn 2.0.61", -] - [[package]] name = "uniffi_core" version = "0.23.0" @@ -3084,9 +2996,9 @@ dependencies = [ [[package]] name = "uniffi_core" -version = "0.27.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ea3eb5474d50fc149b7e4d86b9c5bd4a61dcc167f0683902bf18ae7bbb3deef" +checksum = "6121a127a3af1665cd90d12dd2b3683c2643c5103281d0fed5838324ca1fad5b" dependencies = [ "anyhow", "bytes", @@ -3119,9 +3031,9 @@ dependencies = [ [[package]] name = "uniffi_macros" -version = "0.27.1" +version = "0.25.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18331d35003f46f0d04047fbe4227291815b83a937a8c32bc057f990962182c4" +checksum = "11cf7a58f101fcedafa5b77ea037999b88748607f0ef3a33eaa0efc5392e92e4" dependencies = [ "bincode", "camino", @@ -3132,7 +3044,8 @@ dependencies = [ "serde", "syn 2.0.61", "toml", - "uniffi_meta 0.27.1", + "uniffi_build 0.25.3", + "uniffi_meta 0.25.3", ] [[package]] @@ -3158,18 +3071,6 @@ dependencies = [ "uniffi_checksum_derive 0.25.3", ] -[[package]] -name = "uniffi_meta" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7224422c4cfd181c7ca9fca2154abca4d21db962f926f270f996edd38b0c4b8" -dependencies = [ - "anyhow", - "bytes", - "siphasher", - "uniffi_checksum_derive 0.27.1", -] - [[package]] name = "uniffi_testing" version = "0.23.0" @@ -3198,19 +3099,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "uniffi_testing" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ce878d0bdfc288b58797044eaaedf748526c56eef3575380bb4d4b19d69eee" -dependencies = [ - "anyhow", - "camino", - "cargo_metadata", - "fs-err", - "once_cell", -] - [[package]] name = "uniffi_udl" version = "0.25.3" @@ -3220,20 +3108,7 @@ dependencies = [ "anyhow", "uniffi_meta 0.25.3", "uniffi_testing 0.25.3", - "weedle2 4.0.0", -] - -[[package]] -name = "uniffi_udl" -version = "0.27.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c43c9ed40a8d20a5c3eae2d23031092db6b96dc8e571beb449ba9757484cea0" -dependencies = [ - "anyhow", - "textwrap", - "uniffi_meta 0.27.1", - "uniffi_testing 0.27.1", - "weedle2 5.0.0", + "weedle2", ] [[package]] @@ -3446,15 +3321,6 @@ dependencies = [ "nom", ] -[[package]] -name = "weedle2" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "998d2c24ec099a87daf9467808859f9d82b61f1d9c9701251aea037f514eae0e" -dependencies = [ - "nom", -] - [[package]] name = "winapi" version = "0.3.9" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 6b7addef3..3270ab70a 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -33,8 +33,9 @@ version = "0.0.1" [workspace.dependencies] anyhow = "1.0" thiserror = "1.0" -uniffi = "0.27.1" -uniffi_macros = "0.27.1" +# Version must match that used by uniffi-bindgen-go +uniffi = "0.25.0" +uniffi_macros = "0.25.0" [patch.crates-io] # https://github.com/BlockstreamResearch/rust-secp256k1-zkp/pull/48/commits diff --git a/lib/bindings/langs/swift/Package.swift b/lib/bindings/langs/swift/Package.swift index c1f6bf536..6af1ef632 100644 --- a/lib/bindings/langs/swift/Package.swift +++ b/lib/bindings/langs/swift/Package.swift @@ -6,8 +6,10 @@ import PackageDescription let package = Package( name: "bindings-swift", platforms: [ - .macOS(.v12), - .iOS(.v11), + // Required by uniffi 0.25 + // Can be reverted to v12/v11 for uniffi 0.27 + .macOS(.v15), + .iOS(.v13), ], products: [ .library(name: "BreezLiquidSDK", targets: ["breez_liquid_sdkFFI", "BreezLiquidSDK"]), diff --git a/lib/bindings/makefile b/lib/bindings/makefile index 01a84d976..b4dd187b2 100644 --- a/lib/bindings/makefile +++ b/lib/bindings/makefile @@ -127,6 +127,20 @@ bindings-swift: ios-universal darwin-universal rm langs/swift/Sources/BreezLiquidSDK/breez_liquid_sdkFFI.h rm langs/swift/Sources/BreezLiquidSDK/breez_liquid_sdkFFI.modulemap +## Go +golang-darwin: darwin-universal + cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0 + uniffi-bindgen-go src/breez_liquid_sdk.udl -o ffi/golang -c ./uniffi.toml + cp ../target/darwin-universal/release/libbreez_liquid_sdk_bindings.dylib ffi/golang + cp -r ffi/golang/breez_liquid_sdk tests/bindings/golang/ + +golang-linux: $(SOURCES) + cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0 + cargo build --release --target $(TARGET) + uniffi-bindgen-go src/breez_liquid_sdk.udl -o ffi/golang -c ./uniffi.toml + cp ../target/$(TARGET)/release/libbreez_liquid_sdk_bindings.so ffi/golang + cp -r ffi/golang/breez_liquid_sdk tests/bindings/golang/ + ## Python python-linux: $(SOURCES) cargo build --release --target $(TARGET) diff --git a/lib/bindings/tests/bindings/golang/.gitignore b/lib/bindings/tests/bindings/golang/.gitignore new file mode 100644 index 000000000..3f4381762 --- /dev/null +++ b/lib/bindings/tests/bindings/golang/.gitignore @@ -0,0 +1 @@ +breez_liquid_sdk.* \ No newline at end of file diff --git a/lib/bindings/tests/bindings/golang/go.mod b/lib/bindings/tests/bindings/golang/go.mod new file mode 100644 index 000000000..b4d5a57f8 --- /dev/null +++ b/lib/bindings/tests/bindings/golang/go.mod @@ -0,0 +1,3 @@ +module example.org/golang + +go 1.19 diff --git a/lib/bindings/tests/bindings/golang/test_breez_liquid_sdk.go b/lib/bindings/tests/bindings/golang/test_breez_liquid_sdk.go new file mode 100644 index 000000000..0269edf38 --- /dev/null +++ b/lib/bindings/tests/bindings/golang/test_breez_liquid_sdk.go @@ -0,0 +1,32 @@ +package main + +import ( + "log" + + "example.org/golang/breez_liquid_sdk" +) + +func main() { + mnemonic := "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about" + + sdk, err := breez_liquid_sdk.Connect(breez_liquid_sdk.ConnectRequest{ + Mnemonic: mnemonic, + DataDir: nil, + Network: breez_liquid_sdk.NetworkLiquidTestnet, + }) + + if err != nil { + log.Fatalf("Connect failed: %#v", err) + } + + info, err := sdk.GetInfo(breez_liquid_sdk.GetInfoRequest{ + WithScan: false, + }) + + if err != nil { + log.Fatalf("GetInfo failed: %#v", err) + } + + + log.Print(info.Pubkey) +} diff --git a/lib/bindings/tests/test_generated_bindings.rs b/lib/bindings/tests/test_generated_bindings.rs index 02ec71a5b..21b853448 100644 --- a/lib/bindings/tests/test_generated_bindings.rs +++ b/lib/bindings/tests/test_generated_bindings.rs @@ -1,5 +1,26 @@ +use std::process::Command; + uniffi::build_foreign_language_testcases!( "tests/bindings/test_breez_liquid_sdk.swift", "tests/bindings/test_breez_liquid_sdk.kts", "tests/bindings/test_breez_liquid_sdk.py" ); + +#[test] +fn test_golang() { + let output = Command::new("go") + .env( + "CGO_LDFLAGS", + "-lbreez_liquid_sdk_bindings -L../../../ffi/golang -Wl,-rpath,../../../ffi/golang", + ) + .env("CGO_ENABLED", "1") + .current_dir("tests/bindings/golang/") + .arg("run") + .arg("./") + .output() + .expect("failed to execute process"); + println!("status: {}", output.status); + println!("stdout: {}", String::from_utf8_lossy(&output.stdout)); + println!("stderr: {}", String::from_utf8_lossy(&output.stderr)); + assert!(output.status.success()); +} diff --git a/lib/bindings/uniffi.toml b/lib/bindings/uniffi.toml index 24c216a82..a7fea5976 100644 --- a/lib/bindings/uniffi.toml +++ b/lib/bindings/uniffi.toml @@ -10,3 +10,8 @@ cdylib_name = "breez_liquid_sdk_bindings" # https://mozilla.github.io/uniffi-rs/python/configuration.html [bindings.python] cdylib_name = "breez_liquid_sdk_bindings" + +# https://github.com/NordSecurity/uniffi-bindgen-go/blob/main/docs/CONFIGURATION.md +[bindings.go] +package_name = "breez_liquid_sdk" +cdylib_name = "breez_liquid_sdk_bindings" diff --git a/packages/react-native/BreezLiquidSDK.podspec.dev b/packages/react-native/BreezLiquidSDK.podspec.dev index 09472364b..0bfadc99c 100644 --- a/packages/react-native/BreezLiquidSDK.podspec.dev +++ b/packages/react-native/BreezLiquidSDK.podspec.dev @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => "11.0" } + s.platforms = { :ios => "13.0" } s.source = { :git => "https://github.com/breez/breez-liquid-sdk.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift}" diff --git a/packages/react-native/breez_liquid_sdk.podspec b/packages/react-native/breez_liquid_sdk.podspec index b625d4d49..eb95a4142 100644 --- a/packages/react-native/breez_liquid_sdk.podspec +++ b/packages/react-native/breez_liquid_sdk.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => "11.0" } + s.platforms = { :ios => "13.0" } s.source = { :git => "https://github.com/breez/breez-liquid-sdk.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm,swift}" diff --git a/packages/react-native/example/ios/Podfile b/packages/react-native/example/ios/Podfile index 26039b545..946aa5aaa 100644 --- a/packages/react-native/example/ios/Podfile +++ b/packages/react-native/example/ios/Podfile @@ -1,7 +1,7 @@ require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' -platform :ios, '12.4' +platform :ios, '13' install! 'cocoapods', :deterministic_uuids => false target 'BreezLiquidSDKExample' do @@ -39,7 +39,7 @@ target 'BreezLiquidSDKExample' do # should also work. installer.pods_project.targets.each do |target| target.build_configurations.each do |config| - config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4' + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13' end end __apply_Xcode_12_5_M1_post_install_workaround(installer) diff --git a/packages/react-native/example/ios/Podfile.lock b/packages/react-native/example/ios/Podfile.lock index 60b2e7140..34813c883 100644 --- a/packages/react-native/example/ios/Podfile.lock +++ b/packages/react-native/example/ios/Podfile.lock @@ -552,7 +552,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost: 9fa78656d705f55b1220151d997e57e2a3f2cde0 - BreezLiquidSDK: 4bca3771d7dfe9c834dbe26836ffadfe8f283c76 + BreezLiquidSDK: 9183496e8df36019ec85d8db3ed2f3a27b66a83b CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 9cf707e46f9bd90816b7c91b2c1c8b8a2f549527 @@ -606,6 +606,6 @@ SPEC CHECKSUMS: Yoga: d6134eb3d6e3675afc1d6d65ccb3169b60e21980 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 8741374df2d18c097f581557ec59033aefb561e8 +PODFILE CHECKSUM: bc49bea2246bd3aa03291ab41d3e4bf1488a09a3 COCOAPODS: 1.15.2